Import attributes in typescript, does it matter?

Опубликовано: 03 Ноябрь 2024
на канале: TypeWithMe
151
2

Import attributes in typescript, does it matter?

TypeScript 5.3 supports the latest updates to the import attributes proposal.

https://github.com/tc39/proposal-impo...

One use-case of import attributes is to provide information about the expected format of a module to the runtime.

At the end of this video I show you how to indicate what type of version bun can use to execute your typescript code so that in our case he can use typescript 5.3.