* Fix js missing type arguments on existing nodes and jsdoc object literal declaration emit * Add special lookups test case, rename helper * Accept slightly modified baselines
31 lines
396 B
TypeScript
31 lines
396 B
TypeScript
//// [file.js]
|
|
/**
|
|
* @param {Array} x
|
|
*/
|
|
function x(x) {}
|
|
/**
|
|
* @param {Promise} x
|
|
*/
|
|
function y(x) {}
|
|
|
|
//// [file.js]
|
|
/**
|
|
* @param {Array} x
|
|
*/
|
|
function x(x) { }
|
|
/**
|
|
* @param {Promise} x
|
|
*/
|
|
function y(x) { }
|
|
|
|
|
|
//// [file.d.ts]
|
|
/**
|
|
* @param {Array} x
|
|
*/
|
|
declare function x(x: any[]): void;
|
|
/**
|
|
* @param {Promise} x
|
|
*/
|
|
declare function y(x: Promise<any>): void;
|