remove unused declaration

This commit is contained in:
Sebastian McKenzie 2015-06-08 23:59:53 +01:00
parent cf25424295
commit 33128b0ccf

View File

@ -175,7 +175,6 @@ function getTypeAnnotationBasedOnConditional(path, name) {
}
} while(paths.length);
var typeAnnotation;
if (types.length) {
return {
typeAnnotation: t.createUnionTypeAnnotation(types),