DEV Community

Discussion on: npm displays badge for built-in TypeScript declarations

Collapse
 
bias profile image
Tobias Nickel

i think this is useful, but is it fair?
fair for example to the flow type system? could that also be displayed there? maybe microsoft adds more bedges. that would be nice.

by the way: I never used the flow declarations.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Does it have to be fair?

Actually, TypeScript is not fair towards JSDoc types as well. TypeScript does have some degree of discrimination and lock in.

Collapse
 
kais_blog profile image
Kai

Afaik TypeScript is much more widespread. In this case, I think it could be considered fair. Just compare dev.to/t/typescript and dev.to/t/flow. Interest in TypeScript is probably much higher as well.

Besides, while more badges are surely interesting, it's always better to wait a bit before adding new stuff. It's hard to remove it later.