remove unused declaration
This commit is contained in:
parent
cf25424295
commit
33128b0ccf
@ -175,7 +175,6 @@ function getTypeAnnotationBasedOnConditional(path, name) {
|
||||
}
|
||||
} while(paths.length);
|
||||
|
||||
var typeAnnotation;
|
||||
if (types.length) {
|
||||
return {
|
||||
typeAnnotation: t.createUnionTypeAnnotation(types),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user