What does TypeScript’s ‘resolution-mode’ import attribute enable in moduleResolution: bundler mode?

TypeScript Hard
Select the correct answer: Single Choice

Key points

  • 'resolution-mode' determines how imports are resolved in bundler mode
  • It allows packages to be used in both CJS and ESM contexts
  • This attribute is crucial for interoperability between different module formats

Ready to go further?