|
|
|
|
|
by dsherret
844 days ago
|
|
It's being renamed to a no-slow-types lint rule that occurs on publish and in deno lint. Essentially it enforces that the types of the public API can be determined without inference. This enables a few things: 1. Type checking ts sources is really fast when Deno determines a package does not use slow types. It may entirely drop packages and modules that aren't relevant for type checking. It also skips parsing and building symbols for the internals of a package (ex. function bodies). 2. Documentation is really fast to generate (doesn't need a type checker). 3. A corresponding .d.ts file for relevant typescript code is automatically created for Node. |
|