Commit 1c00c82
fix: correct esModuleInterop imports and tsconfig for regex-validate
- Add esModuleInterop: true and composite: true to tsconfig.json
(were missing from v1 branch)
- Fix generate-output.ts: import jsonexport/cli-table3 as default
imports instead of namespace imports — with esModuleInterop, CJS
default-export modules require `import X from 'X'` not
`import * as X from 'X'` (fixes TS2349/TS2351/TS1259)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a69c382 commit 1c00c82
2 files changed
Lines changed: 5 additions & 3 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
0 commit comments