Open leo1553 opened 7 months ago
This can be fixed using @rollup/plugin-typescript:
@rollup/plugin-typescript
Create vite.config.mjs
:
import typescript from '@rollup/plugin-typescript';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [typescript()]
})
"module": "ESNext"
in tsconfig.json
Describe the bug
When trying to resolve a token with one or more dependencies, the error
TypeInfo not known for "Bar"
is thrown.To Reproduce
Reproduced on StackBlitz
Sample code:
Tested with:
Expected behavior
The token
Bar
should have been successfully resolved with itsFoo
dependency set.Versions
References