mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
34 lines
660 B
TypeScript
34 lines
660 B
TypeScript
// @target: esnext
|
|
// @lib: esnext
|
|
// @declaration: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @filename: uniqueSymbolsDeclarationsInJs.js
|
|
// @out: uniqueSymbolsDeclarationsInJs-out.js
|
|
// @useDefineForClassFields: false
|
|
|
|
// 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();
|
|
}
|