Definitions have .any()
instance and static methods on AbortSignal
even though there is only a static method
#60695
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
π Search Terms
AbortSignal
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play/?noImplicitReturns=false&noUncheckedIndexedAccess=true&allowUnreachableCode=true&allowUnusedLabels=true&noUnusedLocals=true&noUnusedParameters=true&declaration=false&target=99&jsx=0&module=0&strictBuiltinIteratorReturn=true&useUnknownInCatchVariables=true&exactOptionalPropertyTypes=true&noFallthroughCasesInSwitch=true&noImplicitOverride=true&noPropertyAccessFromIndexSignature=true&ts=5.7.2&filetype=ts#code/PTAEBcAsEsGdQLYFMoHsAmp2qfAdquKEgB5zgBQeSA7qAIIBGqATuAMrQDmeAhgDYAKAJQA6XngCeggNoBdYUA
π» Code
π Actual behavior
TypeScript doesn't give
Property 'any' does not exist on type 'AbortSignal'.(2339)
.π Expected behavior
TypeScript gives
Property 'any' does not exist on type 'AbortSignal'.(2339)
.Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: