Commit 4668dd1
authored
Engsys/prepare for types node v16 (#25609)
- with `globalThis`, old logic to get global object is no longer needed.
- After upgrading TypeScript compiler couldn't resolve to proper
`setTimeout` overload because we use `lib: []` compiler option. Working
around by casting callback to `(args: any) => void` or just returning
`Promise<void>`1 parent 56a5bd5 commit 4668dd1
File tree
3 files changed
+5
-19
lines changed- sdk
- anomalydetector/ai-anomaly-detector-rest/samples-dev
- core/core-amqp
- src/util
- test
3 files changed
+5
-19
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 125 | + | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
132 | | - | |
| 130 | + | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 26 | | |
38 | 27 | | |
39 | 28 | | |
| |||
622 | 611 | | |
623 | 612 | | |
624 | 613 | | |
625 | | - | |
626 | 614 | | |
627 | 615 | | |
628 | 616 | | |
629 | 617 | | |
630 | 618 | | |
631 | | - | |
| 619 | + | |
632 | 620 | | |
633 | 621 | | |
634 | 622 | | |
635 | 623 | | |
636 | 624 | | |
637 | 625 | | |
638 | | - | |
| 626 | + | |
639 | 627 | | |
640 | 628 | | |
641 | 629 | | |
| |||
0 commit comments