mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
12 lines
237 B
TypeScript
12 lines
237 B
TypeScript
// @module: es2020
|
|
// @target: es6
|
|
// @noImplicitAny: true
|
|
const localeName = "zh-CN";
|
|
import(`./locales/${localeName}.js`).then(bar => {
|
|
let x = bar;
|
|
});
|
|
|
|
import("./locales/" + localeName + ".js").then(bar => {
|
|
let x = bar;
|
|
});
|