mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
15 lines
238 B
TypeScript
15 lines
238 B
TypeScript
|
// @noEmit: true
|
||
|
// @checkJs: true
|
||
|
// @allowJs: true
|
||
|
// @Filename: bug24252.js
|
||
|
var A = {};
|
||
|
A.B = class {
|
||
|
m() {
|
||
|
/** @type {string[]} */
|
||
|
var x = [];
|
||
|
/** @type {number[]} */
|
||
|
var y;
|
||
|
y = x;
|
||
|
}
|
||
|
};
|