20 lines
332 B
TypeScript
20 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
|
||
|
};
|
||
|
|