Bug: [no-use-before-define] something wrong with function #11278
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
working as intended
Issues that are closed as they are working as intended
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.8.2&fileType=.ts&code=FDBmFcDsGMBcEsD2kAEpIAoCUKDeLgUVpkBnWFAIxQF4UBDYAX2BMnIdpQEYQg&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQHYHsBaWZRQgI0QDN9oyATagS10XSnyqsgBpxtIAAQAuATwAOKAMbQm44YRTwWwgPQFipCtVoNmrdgG1%2B2KImjRavE9iymBiXLAC2qDMLiIbEAL42Auvx%2BPkA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
It is reasonable to use the post-defined function within the function.
for example:
Actual Result
The rules do not support
Additional Info
No response
The text was updated successfully, but these errors were encountered: