4bddf55328
* Fix constructor function type reference lookup I knew I missed some code in the constructor-functions-as-classes PR. This simplifies the type reference resolution code as well. * Simplify and document js alias type resolution
19 lines
332 B
TypeScript
19 lines
332 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noImplicitAny: true
|
|
// @Filename: jsdocConstructorFunctionTypeReference.js
|
|
|
|
var Validator = function VFunc() {
|
|
this.flags = "gim"
|
|
};
|
|
|
|
Validator.prototype.num = 12
|
|
|
|
/**
|
|
* @param {Validator} state
|
|
*/
|
|
var validateRegExpFlags = function(state) {
|
|
return state.flags
|
|
};
|
|
|