Fix extraction of "null" type

master
Paul Loyd 2017-10-29 14:34:19 +03:00
parent d5593cb80a
commit fa97df9064
1 changed files with 1 additions and 3 deletions

View File

@ -151,9 +151,7 @@ const extractors = {
},
NullLiteralTypeAnnotation(node) {
return {
type: 'null',
};
return 'null';
},
StringLiteralTypeAnnotation(node) {