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
[extends null] DTS Build Error, Syntax not yet supported #500
Comments
Can you elaborate and provide a duplicate demo? |
src/index.ts export class Myclass extends null {
} tsup.config.json {
"clean": true,
"dts": true,
"entry": ["src/index.ts"],
"format": ["cjs", "esm"],
"minify": true,
"sourcemap": true,
"splitting": false,
"target": "es2020",
"tsconfig": "./tsconfig.json"
} tsconfig.json {
"compilerOptions": {
"strict": true,
"alwaysStrict": true,
"target": "es2020",
"module": "commonjs",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true
}
} tsup error log
|
in your index.ts export class Myclass extends null {
} your class Should not be extends null , This is grammatically impermissible |
|
you should file an issue here: https://github.com/Swatinem/rollup-plugin-dts/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc |
@egoist Then, how can update |
🎉 This issue has been resolved in version 5.11.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
extends null is valid syntax but cannot build dts for extends null.
The text was updated successfully, but these errors were encountered: