mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
15 lines
215 B
TypeScript
15 lines
215 B
TypeScript
// @allowJs: true
|
|
// @noEmit: true
|
|
// @checkJs: true
|
|
|
|
// @Filename: file1.js
|
|
var SomeClass = function () {
|
|
this.otherProp = 0;
|
|
};
|
|
|
|
new SomeClass();
|
|
|
|
// @Filename: file2.js
|
|
class SomeClass { }
|
|
SomeClass.prop = 0
|