Disable declaration emission for extension-ui (not npm-published package)

This commit is contained in:
Kurdistan Tech Ministry committed 2026-01-17 18:55:13 +03:00
1 parent f951677f96
commit dbb18e8621
2 files changed
+7 -1

No files matched your search

@@ -104,3 +104,4 @@ export default styled(Button)<ButtonProps>(({ isDanger }) => `
visibility: visible;
}
`);
+6 -1
View File
@@ -3,7 +3,12 @@
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
"rootDir": "./src",
// extension-ui is not published to npm - declarations are not needed
// This also fixes TS2742 errors with styled-components v6 + TypeScript 5.5+
"declaration": false,
"declarationMap": false,
"emitDeclarationOnly": false
},
"exclude": [
"**/*.spec.ts"