-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use JS/TS objects like Map and Date #755
Comments
We couldn't reproduce your problem using a fresh project with your same packages. I suspect it's related to your Could you please check that this repo works for you?
If it works for you, can you please change I expect that due to your compiler settings, you will also get the same problem if you run |
Hello @smcenlly , thanks for the quick reply. I cloned your repo and it works for me, I think you're right about my tsconfig settings. This is what I have in my tsconfig.json file: {
"extends": "ts-config-single-spa",
"compilerOptions": {
"jsx": "react-jsx",
"declarationDir": "dist"
},
"files": ["src/management-app-avd.tsx"],
"include": ["src/**/*"],
"exclude": ["src/**/*.test*", "node_modules"]
} |
I took a look at the TypeScript compiler options for {
"compilerOptions": {
"esModuleInterop": true,
"module": "esnext",
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"lib": [
"dom",
"es5",
"scripthost",
"es2015",
"es2015.promise",
"es2016.array.include",
"es2018"
],
"declaration": true,
"emitDeclarationOnly": true
}
} The line: "emitDeclarationOnly": true will cause the compiler to only generate Please update your Quokka for VS Code extension to |
Issue description or question
Is this issue related to Quokka not outputting the expected results of your code?: Yes
Sample code
Quokka.js Console Output
Code editor version
Visual Studio Code v1.64.2
OS name and version
Ubuntu 20.04.3 LTS
The text was updated successfully, but these errors were encountered: