We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 106945c commit 01b1c2eCopy full SHA for 01b1c2e
src/infer/properties.js
@@ -1,4 +1,3 @@
1
-// properties
2
const typeAnnotation = require('../type_annotation');
3
const findTarget = require('./finders').findTarget;
4
@@ -35,7 +34,7 @@ function propertyToDoc(property, prefix) {
35
34
name = property.key.name || property.key.value;
36
}
37
38
- // Special handing for { ...$Exact<Type> }
+ // Special handling for { ...$Exact<Type> }
39
if (isObjectSpreadAndExactUtilTypeProperty(property)) {
40
name = property.argument.id.name;
41
type = {
@@ -83,7 +82,7 @@ function inferProperties(comment) {
83
82
name = property.key.name;
84
85
86
87
88
89
0 commit comments