Commit 1ace001
fix: specify return type in DTS declarations (#14054)
If we specify the return type in the JSDoc for `getRequestEvent`, the
DTS emit corrects itself and no longer pulls in a missing symbol.
Maybe this means we don't need the generate hack?
Co-authored-by: Chew Tee Ming <[email protected]>1 parent 81624e0 commit 1ace001
File tree
3 files changed
+4
-11
lines changed- packages/kit
- scripts
- src/runtime/app/server
- types
3 files changed
+4
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2616 | 2616 | | |
2617 | 2617 | | |
2618 | 2618 | | |
2619 | | - | |
2620 | | - | |
2621 | 2619 | | |
2622 | 2620 | | |
2623 | 2621 | | |
| |||
2638 | 2636 | | |
2639 | 2637 | | |
2640 | 2638 | | |
2641 | | - | |
2642 | | - | |
| 2639 | + | |
| 2640 | + | |
2643 | 2641 | | |
2644 | 2642 | | |
2645 | 2643 | | |
| |||
0 commit comments