diff --git a/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap index 6bc1ee7f..2b11e020 100644 --- a/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap @@ -124,6 +124,13 @@ export type WrappedFormUtils = { `; +exports[`type-parameters.ts 1`] = ` +functionName(); +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +functionName(); + +`; + exports[`types.ts 1`] = ` (() => { // swallow error and fallback to using directory as path diff --git a/tests/typescript_comments/type-parameters.ts b/tests/typescript_comments/type-parameters.ts new file mode 100644 index 00000000..e993143a --- /dev/null +++ b/tests/typescript_comments/type-parameters.ts @@ -0,0 +1 @@ +functionName();