TypeScript/tests/cases/conformance/types/uniqueSymbol/uniqueSymbolsDeclarationsInJs.ts
Ron Buckton d07e866a28
Fix for jsdoc modifiers on constructor params (#38403)
* Fix for jsdoc modifiers on constructor params

* Update Public API baseline and fix unique symbol grammar check for js
2020-05-11 15:07:43 -07:00

33 lines
657 B
TypeScript

// @target: esnext
// @lib: esnext
// @declaration: true
// @allowJs: true
// @checkJs: true
// @filename: uniqueSymbolsDeclarationsInJs.js
// @out: uniqueSymbolsDeclarationsInJs-out.js
// classes
class C {
/**
* @readonly
*/
static readonlyStaticCall = Symbol();
/**
* @type {unique symbol}
* @readonly
*/
static readonlyStaticType;
/**
* @type {unique symbol}
* @readonly
*/
static readonlyStaticTypeAndCall = Symbol();
static readwriteStaticCall = Symbol();
/**
* @readonly
*/
readonlyCall = Symbol();
readwriteCall = Symbol();
}