2021-01-15 13:30:44 +03:00
|
|
|
// @target: esnext
|
|
|
|
// @lib: esnext
|
|
|
|
// @declaration: true
|
|
|
|
// @allowJs: true
|
|
|
|
// @checkJs: true
|
|
|
|
// @filename: uniqueSymbolsDeclarationsInJs.js
|
|
|
|
// @out: uniqueSymbolsDeclarationsInJs-out.js
|
2022-02-04 11:08:38 +03:00
|
|
|
// @useDefineForClassFields: false
|
2021-01-15 13:30:44 +03:00
|
|
|
|
|
|
|
// 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();
|
|
|
|
}
|