Np: Adding typing to the project

Created on 1 Jul 2019  路  1Comment  路  Source: sindresorhus/np

Add flowtype or typescript to the project.

Description

Is the feature request related to a problem?

Not really. Just a possible "enhancement"

Possible implementation

Adding flowtype library definitions incrementally to the project since it has a lower entry barrier and it can be added incrementally.

Alternatives

Adding typescript instead

Most helpful comment

Why? I don't see how that's useful seeing as this is a command-line tool. If we were to add types, it would be to ease development and then it would be easier to just rewrite in TypeScript.

>All comments

Why? I don't see how that's useful seeing as this is a command-line tool. If we were to add types, it would be to ease development and then it would be easier to just rewrite in TypeScript.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ProfessorManhattan picture ProfessorManhattan  路  4Comments

kapooostin picture kapooostin  路  5Comments

natesilva picture natesilva  路  5Comments

doug-wade picture doug-wade  路  5Comments

jescalan picture jescalan  路  3Comments