Commit 4433bdf
authored
feat: resolve declaration files (e.g.
It seems that some users are using declaration files as shared header files
and there is nothing else to resolve. During normal transpilation, any such
imports would get removed and the declaration file would not be part of the
dist bundle. Since we transpile on the runner, it would be nice to have the
file available there even though it's not technically even required. More
importantly however this change makes the parser not complain about missing
dependencies if it encounters imports that can only be resolved to a
declaration file..d.ts) as a last resort (#1023)1 parent 18857dc commit 4433bdf
File tree
1 file changed
+11
-3
lines changed- packages/cli/src/services/check-parser/package-files
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
| |||
0 commit comments