1 repositorio
Provide explicit type arguments for generic function calls and class instantiations using a syntactic prefix that gets stripped away at runtime.
Distinct from Generic Types: Distinct from Generic Types: focuses on the syntax for specifying type arguments at call sites rather than the general concept of generics.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Explicit Type Argument Syntax. Refine with filters or upvote what's useful.
This is an ECMAScript proposal that adds static type syntax to JavaScript, enabling type checking without a separate transpilation step. The proposal defines a standard for type annotations, interfaces, generics, and type imports and exports that are stripped during execution, allowing code to run natively in existing JavaScript engines while still being validated by external type checkers. The proposal introduces generic type parameters using angle-bracket syntax on functions, classes, and type declarations, which are removed at runtime. It also provides syntax for type annotations on variab
Provides syntax for specifying explicit type arguments in generic calls and instantiations.