mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +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;
|
|
});
|