When it comes to using Typescript, we need to think about how to allow type definition files (* .d.ts).
As far as I know, there are several systems for managing the typescript definition system, as shown below.
I think tsd is the oldest and this is the source. But why give birth to typings ? I think creating a definition file for typing is a bit more complicated.
And what is @types really?
Then what is the best solution for this?
typescript typescript-typings tsd
kyasbal
source share