Skip to content

Support Pluggable, 3rd-party Type Systems #2944

@jednano

Description

@jednano

There's a library written by @gcanti called tcomb-ats, which is a 3rd-party assertion library for AtScript. Now that AtScript has been replaced with TypeScript, does that change the TypeScript Design Non-Goals in any way? Would support for 3rd-party assertion libraries like tcomb-ats be possible?

If configured the same way, it would go in the tsconfig.json file as such:

{
  "typeAssertionModule": "path/to/tcomb-ts"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptToo ComplexAn issue which adding support for may be too complex for the value it adds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions