Discovery
During #4323 (barrel index files), `SystemKnowledgeManager.vue` triggered TS7016 (`Could not find declaration file`) because it uses a plain `<script>` Options API block without `lang="ts"`. A `.vue.d.ts` stub was added as a workaround.
Three additional components have the same issue but lack the stub:
| Component |
Path |
| `CommandPermissionDialog.vue` |
`src/components/ui/CommandPermissionDialog.vue` line 129 |
| `ManPageManager.vue` |
`src/components/manpage/ManPageManager.vue` line 318 |
| `TerminalWindow.vue` |
`src/components/terminal/TerminalWindow.vue` line 283 |
Risk
When any of these components is imported via a barrel `index.ts`, or referenced from a `lang="ts"` component, `vue-tsc` reports TS7016. This silently blocks barrel file creation for these directories.
Acceptance Criteria
Discovery
During #4323 (barrel index files), `SystemKnowledgeManager.vue` triggered TS7016 (`Could not find declaration file`) because it uses a plain `<script>` Options API block without `lang="ts"`. A `.vue.d.ts` stub was added as a workaround.
Three additional components have the same issue but lack the stub:
Risk
When any of these components is imported via a barrel `index.ts`, or referenced from a `lang="ts"` component, `vue-tsc` reports TS7016. This silently blocks barrel file creation for these directories.
Acceptance Criteria