mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
33 lines
625 B
TypeScript
33 lines
625 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();
|
||
|
}
|