Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsClassExtendsVisibility(target=es2015).js

48 lines
829 B
TypeScript

//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsClassExtendsVisibility.ts] ////
//// [bar.js]
class Bar {}
module.exports = Bar;
//// [cls.js]
const Bar = require("./bar");
const Strings = {
a: "A",
b: "B"
};
class Foo extends Bar {}
module.exports = Foo;
module.exports.Strings = Strings;
//// [bar.js]
"use strict";
class Bar {
}
module.exports = Bar;
//// [cls.js]
"use strict";
const Bar = require("./bar");
const Strings = {
a: "A",
b: "B"
};
class Foo extends Bar {
}
module.exports = Foo;
module.exports.Strings = Strings;
//// [bar.d.ts]
export = Bar;
declare class Bar {
}
//// [cls.d.ts]
export = Foo;
export { Strings };
import Bar = require("./bar");
declare const Strings: {
a: string;
b: string;
};
declare class Foo extends Bar {
}