### π Search Terms AbortSignal ### π Version & Regression Information - This changed in commit or PR #58211 ### β― 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 ```ts // this method does not exist new AbortSignal().any([]) ``` ### π 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_
π 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