Add test for comment in TypeScript type parameters (#2132)

master
James Henry 2017-06-14 11:10:03 +01:00 committed by Lucas Azzola
parent 68550450b6
commit 9b772cb4fd
2 changed files with 8 additions and 0 deletions

View File

@ -124,6 +124,13 @@ export type WrappedFormUtils = {
`;
exports[`type-parameters.ts 1`] = `
functionName<A /* A comment */>();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
functionName<A /* A comment */>();
`;
exports[`types.ts 1`] = `
(() => {
// swallow error and fallback to using directory as path

View File

@ -0,0 +1 @@
functionName<A /* A comment */>();