TypeScript/tests/cases/compiler/jsdocTypeGenericInstantiationAttempt.ts
Wesley Wigham c06a30ae68 JSDoc Instantiation Fixes (#17553)
* Fix #17383 - issue an error when jsdoc attempts to instantiate a builtin as a generic

* Fix comment

* Fix #17377 - only get type parameters from reference target if the type is a reference

* Fix #17525 - Add SyntaxKind.AsteriskToken to isStartOfType
2017-08-02 13:55:14 -07:00

11 lines
162 B
TypeScript

// @allowJs: true
// @noEmit: true
// @checkJs: true
// @filename: index.js
/**
* @param {Array<*>} list
*/
function thing(list) {
return list;
}