Add test for comment in TypeScript type parameters (#2132)
parent
68550450b6
commit
9b772cb4fd
|
@ -124,6 +124,13 @@ export type WrappedFormUtils = {
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
exports[`type-parameters.ts 1`] = `
|
||||||
|
functionName<A /* A comment */>();
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
functionName<A /* A comment */>();
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
exports[`types.ts 1`] = `
|
exports[`types.ts 1`] = `
|
||||||
(() => {
|
(() => {
|
||||||
// swallow error and fallback to using directory as path
|
// swallow error and fallback to using directory as path
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
functionName<A /* A comment */>();
|
Loading…
Reference in New Issue