mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: bar.js
|
|
class Bar {}
|
|
module.exports = Bar;
|
|
// @filename: cls.js
|
|
const Bar = require("./bar");
|
|
const Strings = {
|
|
a: "A",
|
|
b: "B"
|
|
};
|
|
class Foo extends Bar {}
|
|
module.exports = Foo;
|
|
module.exports.Strings = Strings; |