Require the user to predefine them. Cumbersome and duplicates effort across projects.
---
Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/106102210-predefine-typescript-globals-for-no-undefined-types?utm_campaign=plugin&utm_content=tracker%2F23037809&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23037809&utm_medium=issues&utm_source=github).
Motivation
Current behavior
Using TypeScript built-in globals such
ReturnType<Type>
brings errors from theno-undefined-types
rule.Desired behavior
Include these by default in
typescript
mode: https://www.typescriptlang.org/docs/handbook/utility-types.htmlAlternatives considered
Require the user to predefine them. Cumbersome and duplicates effort across projects.