1 parent
b37e8c4b36
commit
030a70fd38
3 files changed
+20
-1
No files matched your search
+1
-1
@@ -522,7 +522,7 @@ function genericPrintNoParens(path, options, print) {
|
||||
parts.push(
|
||||
indent(
|
||||
options.tabWidth,
|
||||
concat([ line, print(childPath), ";", line ])
|
||||
concat([ hardline, print(childPath), ";", hardline ])
|
||||
)
|
||||
);
|
||||
},
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
exports[`test directives.js 1`] = `
|
||||
"\"use strict\";
|
||||
|
||||
function fn() {
|
||||
\"use strict\";
|
||||
}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
\"use strict\";
|
||||
|
||||
function fn() {
|
||||
\"use strict\";
|
||||
}"
|
||||
`;
|
||||
|
||||
exports[`test optional-type-name.js 1`] = `
|
||||
"type Foo = (any) => string
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
function fn() {
|
||||
"use strict";
|
||||
}
|
||||
Reference in new issue
Block a user