chore: fix typo (#5261) [ci skip]

This commit is contained in:
Yugang Cao
2022-01-21 14:18:34 +08:00
committed by GitHub
parent e8022755ae
commit e603fd258c
7 changed files with 10 additions and 8 deletions

View File

@@ -400,7 +400,7 @@ function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean {
case 'MetaProperty':
return false
// yes: type X = { somePropert: NODE }
// yes: type X = { someProperty: NODE }
// no: type X = { NODE: OtherType }
case 'ObjectTypeProperty':
return parent.key !== node