1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
//// [noImplicitAnyDestructuringInPrivateMethod.ts]
type Arg = {
a: number;
};
export class Bar {
private bar({ a, }: Arg): number {
return a;
}
}
export declare class Bar2 {
private bar({ a, });
}
//// [noImplicitAnyDestructuringInPrivateMethod.js]
"use strict";
exports.__esModule = true;
var Bar = /** @class */ (function () {
function Bar() {
}
Bar.prototype.bar = function (_a) {
var a = _a.a;
return a;
};
return Bar;
}());
exports.Bar = Bar;
//// [noImplicitAnyDestructuringInPrivateMethod.d.ts]
export declare class Bar {
private bar;
}
export declare class Bar2 {
private bar;
}
|