add TSAbstractKeyword (#1505)
parent
bdf6050434
commit
c1a8ee011d
|
@ -2312,6 +2312,8 @@ function genericPrintNoParens(path, options, print, args) {
|
|||
return concat(path.map(print, "body"))
|
||||
case "TSConstKeyword":
|
||||
return "const";
|
||||
case "TSAbstractKeyword":
|
||||
return "abstract";
|
||||
// TODO
|
||||
case "ClassHeritage":
|
||||
// TODO
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`abstractKeyword.ts 1`] = `
|
||||
abstract interface I {}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
abstract interface I {}
|
||||
|
||||
`;
|
|
@ -0,0 +1 @@
|
|||
abstract interface I {}
|
|
@ -0,0 +1 @@
|
|||
run_spec(__dirname, { parser: "typescript" });
|
Loading…
Reference in New Issue