Commit 685e423
Oleksandr Dzhychko
build(deps): bump typescript from 4.9.5 to 5.4.2 in /ts-model-api
Replace the deprecated compiler option `importsNotUsedAsValues` with linting rules.
The new suggested compiler option `verbatimModuleSyntax` does not allow writing ESM syntax in files that will emit as CommonJS.
That is what we do.
To not rewrite the code but disable the things disabled by `importsNotUsedAsValues` the new linting rules were added.
An in-depth explanation can be found at https://johnnyreilly.com/typescript-5-importsnotusedasvalues-error-eslint-consistent-type-imports1 parent b4fd113 commit 685e423
File tree
5 files changed
+10
-8
lines changed- ts-model-api
- src
5 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
0 commit comments