We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa55e66 commit 57bc620Copy full SHA for 57bc620
rocket-chatter-ingestion-server/src/process/prepare/processor/core/typeAnnotation.ts
@@ -34,7 +34,7 @@ export namespace TypeAnnotation {
34
}
35
36
// Handle parameters of the function
37
- for (const t of (type as any).params) {
+ for (const t of (type as any).params ?? []) {
38
flatten((t as any).typeAnnotation).forEach((x) => typeArguments.add(x))
39
40
rocket-chatter-ingestion-server/src/process/prepare/processor/syntax/interface.ts
@@ -85,7 +85,7 @@ export namespace Interface {
85
86
87
// Check for the params type params (recursive)
88
- for (const p of (m as any).params) {
+ for (const p of (m as any).params ?? []) {
89
node.pushUse(
90
...TypeAnnotation.flatten(p.typeAnnotation ?? []).map((t) => ({
91
name: t,
0 commit comments