Skip to content

Commit 8987593

Browse files
committed
deps: Bump ast-types version to 0.15.3-0.tsflower.3
This fixes the issue with `static` and `method` on ObjectTypeProperty: benjamn/ast-types#755
1 parent ad6fec6 commit 8987593

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

lib/printer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,6 @@ function genericPrintNoParens(path: any, options: any, print: any) {
17571757
const parent = path.getParentNode(0);
17581758
const isArrowFunctionTypeAnnotation = !(
17591759
namedTypes.ObjectTypeCallProperty.check(parent) ||
1760-
// @ts-expect-error https://github.com/benjamn/ast-types/pull/755
17611760
(namedTypes.ObjectTypeProperty.check(parent) && parent.method) ||
17621761
(namedTypes.ObjectTypeInternalSlot.check(parent) && parent.method) ||
17631762
namedTypes.DeclareFunction.check(path.getParentNode(2))

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"fs": false
4343
},
4444
"dependencies": {
45-
"ast-types": "npm:@gregprice/ast-types@^0.15.3-0.tsflower.2",
45+
"ast-types": "npm:@gregprice/ast-types@^0.15.3-0.tsflower.3",
4646
"esprima": "~4.0.0",
4747
"source-map": "~0.6.1",
4848
"tslib": "^2.0.1"

0 commit comments

Comments
 (0)