Bug Report
🔎 Search Terms
🕗 Version & Regression Information
- This is a crash
- This changed between versions ______ and _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⏯ Playground Link
Playground link with relevant code
💻 Code
index.cts
import{globToTree}from'./index';export=globToTreeindex.ts
exportfunctionglobToTree(): any{}Object.defineProperty(globToTree,"__esModule",{value: true});Object.defineProperty(globToTree,"globToTree",{value: globToTree});Object.defineProperty(globToTree,"default",{value: globToTree});exportdefaultglobToTree{
"compilerOptions": {
"module": "esnext",
"target": "es2019",
"jsx": "preserve",
"moduleResolution": "node",
"allowJs": false,
"allowUmdGlobalAccess": false,
"sourceMap": true,
"inlineSourceMap": false,
"inlineSources": true,
"declaration": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"strict": true,
"strictBindCallApply": true,
"strictNullChecks": false,
"strictFunctionTypes": true,
"noImplicitThis": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"preserveConstEnums": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"noErrorTruncation": true,
"removeComments": false,
"traceResolution": false,
"newLine": "lf",
"esModuleInterop": true,
"importHelpers": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"noEmit": true
}
}🙁 Actual behavior
show error

or use @ts-ignore avoid it
import{globToTree}from'./index';// @ts-ignoreexport=globToTree🙂 Expected behavior
no need @ts-ignore
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
index.cts
index.ts
{ "compilerOptions": { "module": "esnext", "target": "es2019", "jsx": "preserve", "moduleResolution": "node", "allowJs": false, "allowUmdGlobalAccess": false, "sourceMap": true, "inlineSourceMap": false, "inlineSources": true, "declaration": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, "allowSyntheticDefaultImports": true, "resolveJsonModule": true, "strict": true, "strictBindCallApply": true, "strictNullChecks": false, "strictFunctionTypes": true, "noImplicitThis": true, "noImplicitOverride": true, "noUncheckedIndexedAccess": true, "noPropertyAccessFromIndexSignature": true, "preserveConstEnums": true, "forceConsistentCasingInFileNames": true, "incremental": true, "noErrorTruncation": true, "removeComments": false, "traceResolution": false, "newLine": "lf", "esModuleInterop": true, "importHelpers": true, "noFallthroughCasesInSwitch": true, "noUnusedLocals": true, "noUnusedParameters": true, "skipLibCheck": true, "noEmit": true } }🙁 Actual behavior
show error
or use
@ts-ignoreavoid it🙂 Expected behavior
no need
@ts-ignore