TypeScript Practice Test
TypeScript TypeScript Functions & Modules 2
Which of the following correctly creates a named export in a TypeScript ES module?
Select your answer
A
module.exports = { myFunc };
B
export { myFunc };
C
exports.myFunc = myFunc;
D
export default myFunc;
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →