benjamn / ast-types

Esprima-compatible implementation of the Mozilla JS Parser API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Should `tslib` be a dependency or a dev dependency?

mjhenkes opened this issue · comments

I noticed tslib was added as a dependency. I'm not super familiar with typescript but it seemed to stick out as the only non dev dependency and it seems like it's only used in internal typescript.
https://github.com/benjamn/ast-types/blob/master/package.json#L40

Added here:
03d6467

Definitely a non-dev dependency, as it provides a runtime library for TypeScript-generated code!