9b2d487392
* Fix this parameter emit for JSDocFunction types Previously, parameters with names that were not `new` were treated like rest parameters. This is incorrect: parameters with the name `this` should emit a `this` parameter. Fixes #38550 * ❤️ quote style
13 lines
250 B
TypeScript
13 lines
250 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: bug38550.js
|
|
export class Clazz {
|
|
/**
|
|
* @param {function(this:Object, ...*):*} functionDeclaration
|
|
*/
|
|
method(functionDeclaration) {}
|
|
}
|