Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsMissingGenerics(target=es2015).js

34 lines
502 B
TypeScript

//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsMissingGenerics.ts] ////
//// [file.js]
/**
* @param {Array} x
*/
function x(x) {}
/**
* @param {Promise} x
*/
function y(x) {}
//// [file.js]
"use strict";
/**
* @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;