TypL icon indicating copy to clipboard operation
TypL copied to clipboard

The Type Linter for JS

Results 23 TypL issues
Sort by recently updated
recently updated
newest added

* Compiler insert parameter type assertions (and remove the annotations) ```js function foo(x = int, y = bool`true`) { .. } ``` → ```js function foo(x,y = true) { x...

For the purposes of better readability, easier branching merging and easier developer onboarding, it would be useful to split the checker.js into multiple files. For example, ``` var collectTypesVisitors =...

Define lookup mappings from typeID (like "int") to friendly type names (like "integer") for the purposes of error messages. Similar to `getTypeID(..)`. Like this: ```js getTypeName("int"); // "integer" getTypeName({ inferred:...