Test complete
This commit is contained in:
3
test/snapshots/privateProperties/.babelrc
Normal file
3
test/snapshots/privateProperties/.babelrc
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"presets": [["@babel/preset-env", { "targets": { "node": 14 } }]]
|
||||
}
|
4
test/snapshots/privateProperties/input.txt
Normal file
4
test/snapshots/privateProperties/input.txt
Normal file
@ -0,0 +1,4 @@
|
||||
@Service()
|
||||
export class B {
|
||||
#remote: Service
|
||||
}
|
22
test/snapshots/privateProperties/output.txt
Normal file
22
test/snapshots/privateProperties/output.txt
Normal file
@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true,
|
||||
});
|
||||
|
||||
exports.B = exports.B = void 0;
|
||||
|
||||
var _tslib = require("tslib");
|
||||
var _remote = /*#__PURE__*/ new WeakMap();
|
||||
|
||||
exports.B = exports.B = B = (0, _tslib.__decorate)([Service()], B);
|
||||
|
||||
class B {
|
||||
constructor() {
|
||||
_remote.set(this, {
|
||||
writable: true,
|
||||
value: void 0,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
exports.B = exports.B = B;
|
Reference in New Issue
Block a user