Skip to content

Commit

Permalink
Change type determination logic of type-only defineProps to follow vu…
Browse files Browse the repository at this point in the history
…e v3.2.9. (#1620)
  • Loading branch information
ota-meshi committed Sep 5, 2021
1 parent 0ee35d3 commit 5fe2445
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/ts-ast-utils.js
Expand Up @@ -255,6 +255,7 @@ function inferRuntimeType(context, node, checked = new Set()) {
case 'Map':
case 'WeakSet':
case 'WeakMap':
case 'Date':
return [node.typeName.name]
case 'Record':
case 'Partial':
Expand Down

0 comments on commit 5fe2445

Please sign in to comment.