remove obsolete visitor

pull/13177/head
Simon H 2 years ago committed by GitHub
parent 86460a07af
commit 59f53d0c20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -99,15 +99,6 @@ const visitors = {
}
return node.parameter;
},
Identifier(node) {
if (node.typeAnnotation) {
return {
...node,
typeAnnotation: null
};
}
return node;
},
FunctionExpression: remove_this_param,
FunctionDeclaration: remove_this_param,
TSDeclareFunction() {

Loading…
Cancel
Save