1 parent
ce7cee1764
commit
e82cf92fb4
25 files changed
+63
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
+46
@@ -712,6 +712,52 @@ function makeChainWalker2<
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`issue-6858.ts format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
testFunc<
|
||||
//#region
|
||||
{
|
||||
testProp: number
|
||||
}
|
||||
//#endregion
|
||||
>(parserFunc\`
|
||||
Some multiline string
|
||||
In here\`);
|
||||
|
||||
testFunc(
|
||||
//#region
|
||||
{
|
||||
testProp: number
|
||||
}
|
||||
//#endregion
|
||||
)
|
||||
|
||||
=====================================output=====================================
|
||||
testFunc<
|
||||
//#region
|
||||
{
|
||||
testProp: number;
|
||||
}
|
||||
//#endregion
|
||||
>(parserFunc\`
|
||||
Some multiline string
|
||||
In here\`);
|
||||
|
||||
testFunc(
|
||||
//#region
|
||||
{
|
||||
testProp: number,
|
||||
},
|
||||
//#endregion
|
||||
);
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`long-function-arg.ts format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,17 @@
|
||||
testFunc<
|
||||
//#region
|
||||
{
|
||||
testProp: number
|
||||
}
|
||||
//#endregion
|
||||
>(parserFunc`
|
||||
Some multiline string
|
||||
In here`);
|
||||
|
||||
testFunc(
|
||||
//#region
|
||||
{
|
||||
testProp: number
|
||||
}
|
||||
//#endregion
|
||||
)
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user