TypeScript/tests/cases/conformance/salsa/jsdocConstructorFunctionTypeReference.ts

20 lines
332 B
TypeScript
Raw Normal View History

// @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
};