[init-declarations] It report Variable 'b' should be initialized on declaration.
when I declare nested namespace in a index.d.ts
file
#4392
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
Expected that don't report error with
const b: string
ineg.2
Actual Result
eg.1
andeg.3
is OK, buteg.2
was reportedVariable 'b' should be initialized on declaration.
Additional Info
Versions
@typescript-eslint/eslint-plugin
5.8.1
@typescript-eslint/parser
5.8.1
TypeScript
4.5.4
ESLint
8.5.0
node
16.13.1
The text was updated successfully, but these errors were encountered: