# Bug Report ### π Search Terms module node16 import assertions ### π Version & Regression Information Happened in 4.8.2, also 4.7.4 and 4.8 beta in playground. ### β― Playground Link [Playground link with relevant code](https://www.typescriptlang.org/play?ts=4.8.0-beta&module=100#code/MYewdgzgLgBAZgSwDYFMYF4YCI4hAOgCsJwsAoUSWKFaDGAQwHcGFYEBbABxACcoAFIlQAaGAG8GECCn4AuCVACeXFAoDkxcOoC+OgJRkUADx78JOoA) ### π» Code ```ts const file = "foo.json" const test = await import(file, {assert: {type: 'json'}}) export {} ``` ### π Actual behavior ``` Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'. ``` ### π Expected behavior No error