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

This commit is contained in:
2026-01-17 18:55:13 +03:00
parent f951677f96
commit dbb18e8621
2 changed files with 7 additions and 1 deletions
@@ -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"