Open devin6391 opened 6 years ago
The other plugin should still work with TypeScript 3. This is just an alternate version because I had trouble with the other ones. It currently doesn't support .tsx
files so that's probably why you're getting this error. I'll see if I can add support for it.
I pushed a new version, try it out.
I found a solution (using @rollup/plugin-typescript
but still had the issue) by removing the following properties from the compilerOptions
of the tsconfig.json
.
{
"compilerOptions": {
- "outDir": "dist",
- "declaration": true
}
}
But it looks like without those properties ts doesn't generate .d.ts
files
Any news ?
Hey guys,
I just upgraded to this plugin from rollup-plugin-typescript2 as I swtiched to typescript3. But now I am getting this error: