This chapter explores the complexities of using TypeScript in JavaScript libraries, discussing issues such as module resolution, pre-bundling TypeScript types, and mismatches between file formats. The hosts also introduce tools like 'Are the Types Wrong' and PUBLINT for identifying type problems and packaging issues. They share their experiences with test runners, code bundling, and maintaining strict package compatibility.
In this supper club episode of Syntax, Wes and Scott talk with Mark Erikson about his work in helping others understand shipping ESM, how to deal with permutations, whether default imports are helpful, whether TypeScript has made it easier, and what Mark’s tool stack is for building.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats