Do not put softline before TSImportEqualsDeclaration (#1679)
I'm not sure why it was there but it makes the transform not stablemaster
parent
e37ea2c1f6
commit
f50e42d8e9
|
@ -2323,7 +2323,6 @@ function genericPrintNoParens(path, options, print, args) {
|
|||
return concat(parts);
|
||||
case "TSImportEqualsDeclaration":
|
||||
parts.push(
|
||||
softline,
|
||||
printTypeScriptModifiers(path, options, print),
|
||||
"import ",
|
||||
path.call(print, "name"),
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`import_require.js 1`] = `
|
||||
import { IModel } from 'vs/editor/common/editorCommon';
|
||||
import JSONContributionRegistry = require('vs/platform/jsonschemas/common/jsonContributionRegistry');
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
import { IModel } from "vs/editor/common/editorCommon";
|
||||
import JSONContributionRegistry = require("vs/platform/jsonschemas/common/jsonContributionRegistry");
|
||||
|
||||
`;
|
|
@ -0,0 +1,2 @@
|
|||
import { IModel } from 'vs/editor/common/editorCommon';
|
||||
import JSONContributionRegistry = require('vs/platform/jsonschemas/common/jsonContributionRegistry');
|
|
@ -0,0 +1 @@
|
|||
run_spec(__dirname, { parser: "typescript" });
|
Loading…
Reference in New Issue