Definitelytyped: How to solve Error parsing header

Created on 20 Jun 2017  路  2Comments  路  Source: DefinitelyTyped/DefinitelyTyped

I want to add a new type/react-list.

When I run 'npm run lint react-list', there is an error 'dt-header Error parsing header. Expected: foo MAJOR.MINOR (patch version not allowed)'

And my index.d.ts header is as follows:

// Type definitions for react-list 0.8.3
// Project: https://github.com/orgsync/react-list
// Definitions by: Yifei Yan https://github.com/buptyyf
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

Most helpful comment

Don't include the patch version. Use 0.8 instead of 0.8.3.

All 2 comments

Don't include the patch version. Use 0.8 instead of 0.8.3.

Thank you very much. I have fixed it. @andy-ms

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamespero picture jamespero  路  3Comments

fasatrix picture fasatrix  路  3Comments

alisabzevari picture alisabzevari  路  3Comments

jgoz picture jgoz  路  3Comments

victor-guoyu picture victor-guoyu  路  3Comments