Commit b0c8eeb
Tajudeen
fix: resolve TypeScript export conflict for Change type
- Separate value export (diffLines) from type export (Change)
- Use 'export type' for Change to avoid declaration conflict
- Fixes compilation error: Export declaration conflicts with exported declaration of 'Change'
The issue was that tsup was generating both an interface declaration and
a type export for Change, causing a TypeScript compilation error.1 parent 8317501 commit b0c8eeb
File tree
1 file changed
+2
-1
lines changed- src/vs/workbench/contrib/cortexide/browser/react/src/diff
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
0 commit comments