2015-02-07 05:49:58 +01:00
|
|
|
//// [symbolDeclarationEmit14.ts]
|
|
|
|
class C {
|
|
|
|
get [Symbol.isRegExp]() { return ""; }
|
|
|
|
get [Symbol.toStringTag]() { return ""; }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [symbolDeclarationEmit14.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
|
|
|
Object.defineProperty(C.prototype, Symbol.isRegExp, {
|
2015-02-21 23:43:45 +01:00
|
|
|
get: function () { return ""; },
|
2015-02-07 05:49:58 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
Object.defineProperty(C.prototype, Symbol.toStringTag, {
|
2015-02-21 23:43:45 +01:00
|
|
|
get: function () { return ""; },
|
2015-02-07 05:49:58 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
})();
|
|
|
|
|
|
|
|
|
|
|
|
//// [symbolDeclarationEmit14.d.ts]
|
|
|
|
declare class C {
|
|
|
|
[Symbol.isRegExp]: string;
|
|
|
|
[Symbol.toStringTag]: string;
|
|
|
|
}
|