Does let variable: typeof import('large-module'); import the full module into memory?

前端 未结 0 1367
无人及你
无人及你 2020-12-16 01:46

For the following snippet:

let variable: typeof import(\'large-module\');

async function expensiveOperation () {
  variable = await import(\'large-module\');         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题