From the 'Publish to @types' from typescriptlang.org I understand that the definitions from DefinitelyTyped are used to create the @types/<library> npm modules. From the contributing page I was wondering if the advice on versioning is still correct when it suggests library-1.2.0.d.ts? (Which if #64 is correct then it should be index-1.2.0.d.ts too?) I was wondering (and am happy to prepare a pr to update documentation):
what the SemVer version relates to. Are the major and minor parts related to the package version it is trying to follow, so for example, lodash@4.14.x should have an @types/lodash@4.14.x npm package?
Is the patch version just autoincremented whenever a change to the .d.ts version in the DefinitelyTyped github repo is observed? If not how is it set? lodash only went up to 4.14.2 in npm but the @types/lodash goes up to 4.14.54
From the 'Publish to @types' from typescriptlang.org I understand that the definitions from DefinitelyTyped are used to create the
@types/<library>
npm modules. From the contributing page I was wondering if the advice on versioning is still correct when it suggestslibrary-1.2.0.d.ts
? (Which if #64 is correct then it should be index-1.2.0.d.ts too?) I was wondering (and am happy to prepare a pr to update documentation):Apologies if questions are confused / duplicated. Many thanks for any clarifications.