File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- // properties
2
1
const typeAnnotation = require ( '../type_annotation' ) ;
3
2
const findTarget = require ( './finders' ) . findTarget ;
4
3
@@ -35,7 +34,7 @@ function propertyToDoc(property, prefix) {
35
34
name = property . key . name || property . key . value ;
36
35
}
37
36
38
- // Special handing for { ...$Exact<Type> }
37
+ // Special handling for { ...$Exact<Type> }
39
38
if ( isObjectSpreadAndExactUtilTypeProperty ( property ) ) {
40
39
name = property . argument . id . name ;
41
40
type = {
@@ -83,7 +82,7 @@ function inferProperties(comment) {
83
82
name = property . key . name ;
84
83
}
85
84
86
- // Special handing for { ...$Exact<Type> }
85
+ // Special handling for { ...$Exact<Type> }
87
86
if ( isObjectSpreadAndExactUtilTypeProperty ( property ) ) {
88
87
name = property . argument . id . name ;
89
88
}
You can’t perform that action at this time.
0 commit comments