Bug Report Checklist
Expected
The emitted d.ts not to reference non-existent types
Actual
The emitted d.t references non-existent types
Additional Info
https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/typings/typescript.d.ts augments the typescript namespace to include some internal types.
The method in question, https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/src/flags.ts#L92-L101, is marked with @internal and stripInternal could be enabled to fix this issue.
This makes it impossible to type-check a project without skipLibCheck enabled, as it will always have type errors
Bug Report Checklist
mainbranch of the repository.Expected
The emitted d.ts not to reference non-existent types
Actual
The emitted d.t references non-existent types
Additional Info
https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/typings/typescript.d.ts augments the typescript namespace to include some internal types.
The method in question, https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/src/flags.ts#L92-L101, is marked with
@internaland stripInternal could be enabled to fix this issue.This makes it impossible to type-check a project without skipLibCheck enabled, as it will always have type errors