π Search Terms
reference lib elided disposable
π Version & Regression Information
- This changed between versions 5.4.5 and 5.5.2
(not fixed in nightly)
β― Playground Link
https://www.typescriptlang.org/play/?ts=5.5.2#code/PQgEB4CcFMDNpgOwMbVAGwJYCMC8AiaAZ0WgA8AXAOgBNMiAHAeyIENt1p9RgA+AKH7lmkCqEyIKCWK1SgAKgAsJAc1DkpiGkVAAReszYc0AbwC+QA
π» Code
/// <reference lib="esnext.disposable" />
export interface Thing extends Disposable {}
π Actual behavior
Output d.ts is
export interface Thing extends Disposable {
}
π Expected behavior
The .d.ts file should be like it was in 5.4.5
/// <reference lib="esnext.disposable" />
export interface Thing extends Disposable {
}
Additional information about the issue
No response