14 lines
238 B
TypeScript
14 lines
238 B
TypeScript
|
// @lib: es2015
|
||
|
// @target: es2015
|
||
|
// @module: umd
|
||
|
// https://github.com/Microsoft/TypeScript/issues/17564
|
||
|
class C {
|
||
|
private _path = './other';
|
||
|
|
||
|
dynamic() {
|
||
|
return import(this._path);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const c = new C();
|
||
|
c.dynamic();
|