You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{externalFunction}from'my-module';import{internalFunction}from'./utilities.js';// INCORRECT: TS DOES NOT HIGHLIGHT THE ERRORexternalFunction('TEST');// CORRECT: TS HIGHLIGHTS ERROR BECAUSE THE ARGUMENT MUST BE AN ENUMinternalFunction('TEST');
π Search Terms
"module declaration enum issue", "module declaration enum any"
π Version & Regression Information
Difficult to test in previous version because multi-file setup is required for reproduction.
β― Playground Link
https://github.com/ernestostifano/typescript-eslint-issue-1
π» Code
Issue Description
./src/common.types.ts
./src/utilities.ts
./src/modules.d.ts
./src/index.ts
Reproduction Repository Link
https://github.com/ernestostifano/typescript-eslint-issue-1
Repro Steps
README.md
.π Actual behavior
See above.
π Expected behavior
See above.
Additional information about the issue
Versions
TypeScript
5.8.3
node
22.6.0
The text was updated successfully, but these errors were encountered: