Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptverbatimModuleSyntax isolatedModulesSingle-choice MCQ

Compiled to ESM with `verbatimModuleSyntax: true`, what does this import emit, and why does removing the `type` keyword change the result?

import { type Foo, bar } from "./dep"; const x: Foo = bar(); export { x };