Error: @amilajack/joker/dist/index.d.ts' is not a module.`
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 0
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
When I import like this
`import Joker from '@amilajack/joker'`
in my typescript project I get
`error TS2306: File '/Users/sam.rae/dev/XOP-CLI/node_modules/@amilajack/joker/dist/index.d.ts' is not a module.`
Any ideas?
my tsconfig looks like this
```
{
"compilerOptions": {
"declaration": true,
"importHelpers": true,
"module": "commonjs",
"outDir": "lib",
"rootDir": "src",
"strict": true,
"target": "es2017",
"experimentalDecorators": true,
"composite": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true
},
"include": ["src/**/*", "src/**/*.json"]
}
```
Thanks
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.