Bump prettier to v1.13.2
This commit is contained in:
@@ -1327,7 +1327,9 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
const bodilessType =
|
||||
type === "FunctionDeclaration"
|
||||
? "TSDeclareFunction"
|
||||
: type === "ClassMethod" ? "TSDeclareMethod" : undefined;
|
||||
: type === "ClassMethod"
|
||||
? "TSDeclareMethod"
|
||||
: undefined;
|
||||
if (bodilessType && !this.match(tt.braceL) && this.isLineTerminator()) {
|
||||
this.finishNode(node, bodilessType);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user