2015-02-03 22:15:28 +01:00
|
|
|
//// [stripInternal1.ts]
|
|
|
|
|
|
|
|
class C {
|
|
|
|
foo(): void { }
|
|
|
|
// @internal
|
|
|
|
bar(): void { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [stripInternal1.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C.prototype.foo = function () { };
|
2015-02-03 22:15:28 +01:00
|
|
|
// @internal
|
2015-02-07 03:45:09 +01:00
|
|
|
C.prototype.bar = function () { };
|
2015-02-03 22:15:28 +01:00
|
|
|
return C;
|
|
|
|
})();
|
|
|
|
|
|
|
|
|
|
|
|
//// [stripInternal1.d.ts]
|
|
|
|
declare class C {
|
|
|
|
foo(): void;
|
|
|
|
}
|