This commit is contained in:
parent
7c8f4578e9
commit
991d62322f
@ -1810,6 +1810,7 @@ function inferRuntimeType(
|
|||||||
case 'WeakSet':
|
case 'WeakSet':
|
||||||
case 'WeakMap':
|
case 'WeakMap':
|
||||||
case 'Date':
|
case 'Date':
|
||||||
|
case 'Promise':
|
||||||
return [node.typeName.name]
|
return [node.typeName.name]
|
||||||
case 'Record':
|
case 'Record':
|
||||||
case 'Partial':
|
case 'Partial':
|
||||||
|
Loading…
Reference in New Issue
Block a user