-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingFixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this
Milestone
Description
TypeScript Version: 3.7.0-dev.20191002
Search Terms:
amd, dynamic import, error message
Code
import("./mymodule.js");"module" set to "es2015" in tsconfig.json.
Expected behavior:
error TS1323: Dynamic import is only supported when '--module' flag is 'amd' or 'commonjs' or 'esNext' or 'umd'.
Actual behavior:
error TS1323: Dynamic import is only supported when '--module' flag is 'commonjs' or 'esNext'.
Playground Link:
Related Issues:
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingFixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this