We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript recursive arrow function warning
Version 5.3.3
https://www.typescriptlang.org/play?noUncheckedIndexedAccess=true&useDefineForClassFields=true&allowUnreachableCode=true&allowUnusedLabels=true&downlevelIteration=true&noLib=true&noUnusedLocals=true&noUnusedParameters=true&experimentalDecorators=true&emitDecoratorMetadata=true&target=99&exactOptionalPropertyTypes=true&noFallthroughCasesInSwitch=true&noImplicitOverride=true&noPropertyAccessFromIndexSignature=true&isolatedModules=true&inlineSourceMap=false&inlineSources=false&allowSyntheticDefaultImports=true&useUnknownInCatchVariables=true&allowArbitraryExtensions=true&resolvePackageJsonImports=true&resolvePackageJsonExports=true&allowImportingTsExtensions=false&allowUmdGlobalAccess=false&suppressImplicitAnyIndexErrors=true&importHelpers=true#code/N4KABGDGD2B2DOAXMAzWBGMBeMAKAlAFxgBG00ANgKYCGs2AfGKBBAE5WICub9a6BANzgwAX2EiUXWJEQBLOKlgAmAsTKVa9Fqw7deS1fmERxISdNkK+sAMxrS5anWYj2nHvURsuVE2OFRECA
{ const fn1 = (): boolean => { return fn1(); }; function fn2(): boolean { return fn2(); }; function fn3(): boolean { return true; }; }
fn1 has recursion, and this function is not used, but there is no warning. fn2, fn3 has warning.
fn1, fn2, fn3 to have wanings
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #45360. Used search terms: recursive unused in:title
recursive unused in:title
Sorry, something went wrong.
No branches or pull requests
π Search Terms
typescript recursive arrow function warning
π Version & Regression Information
Version 5.3.3
β― Playground Link
https://www.typescriptlang.org/play?noUncheckedIndexedAccess=true&useDefineForClassFields=true&allowUnreachableCode=true&allowUnusedLabels=true&downlevelIteration=true&noLib=true&noUnusedLocals=true&noUnusedParameters=true&experimentalDecorators=true&emitDecoratorMetadata=true&target=99&exactOptionalPropertyTypes=true&noFallthroughCasesInSwitch=true&noImplicitOverride=true&noPropertyAccessFromIndexSignature=true&isolatedModules=true&inlineSourceMap=false&inlineSources=false&allowSyntheticDefaultImports=true&useUnknownInCatchVariables=true&allowArbitraryExtensions=true&resolvePackageJsonImports=true&resolvePackageJsonExports=true&allowImportingTsExtensions=false&allowUmdGlobalAccess=false&suppressImplicitAnyIndexErrors=true&importHelpers=true#code/N4KABGDGD2B2DOAXMAzWBGMBeMAKAlAFxgBG00ANgKYCGs2AfGKBBAE5WICub9a6BANzgwAX2EiUXWJEQBLOKlgAmAsTKVa9Fqw7deS1fmERxISdNkK+sAMxrS5anWYj2nHvURsuVE2OFRECA
π» Code
π Actual behavior
fn1 has recursion, and this function is not used, but there is no warning. fn2, fn3 has warning.
π Expected behavior
fn1, fn2, fn3 to have wanings
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: