Commit 67f3d4e
authored
* fix(types): add missing `Comment` type import
* chore: explicitly specify the `lib` TypeScript compiler option
- Remove the default inherited type definitions from the project by aligning `lib` with `target`, making the type environment stricter, and verifying that the previous fix resolves the intended issue by surfacing related errors via the type tests. See: https://www.typescriptlang.org/tsconfig/#lib.
* refactor: remove `Comment` from the `CSSSyntaxElement` union
- The `CssNodePlain` type is a union that includes `Comment` as a member, making it redundant in the `CSSSyntaxElement` union.
1 parent fa391df commit 67f3d4e
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments