You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
/// <reference lib is stripped out of d.ts fileΒ #58956
Activity
jakebailey commentedon Jun 21, 2024
This is by design: https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#simplified-reference-directive-declaration-emit
Changed in #57681.
You must now write:
/// <reference lib="esnext.disposable" preserve="true" />SimenB commentedon Jun 21, 2024
Ah, somehow missed that. Thanks!
An awesome change - I have some code when building definition files I can probably delete, then.
https://github.com/jestjs/jest/blob/046787eafae9ea0515b19e81f30758e0f040f077/scripts/buildTs.mjs#L205-L232