Commit e9a46cf
refactor: centralize quote-utils to use generated kwlist.ts
- Remove hardcoded RESERVED_WORDS from quote-utils.ts
- Import RESERVED_KEYWORDS and TYPE_FUNC_NAME_KEYWORDS from kwlist.ts
- Add explicit Set<string> type annotations to kwlist.ts exports for proper TypeScript compatibility
- QuoteUtils.needsQuotes() now uses the centralized keyword sets
Co-Authored-By: Dan Lynch <[email protected]>1 parent 5b34b15 commit e9a46cf
2 files changed
+7
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 1 | + | |
16 | 2 | | |
17 | 3 | | |
18 | 4 | | |
| |||
22 | 8 | | |
23 | 9 | | |
24 | 10 | | |
25 | | - | |
| 11 | + | |
26 | 12 | | |
27 | 13 | | |
28 | 14 | | |
| |||
93 | 79 | | |
94 | 80 | | |
95 | 81 | | |
96 | | - | |
| 82 | + | |
0 commit comments