Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add definitions for TypeScript #127
I'm not too familiar with TS either
Actually this is the first time I use TypeScript in a large project and VS Code kept complaining about the missing definition file. So I had to write it myself and reference it manually.
I thought it might be a good idea to have them in the package itself.
As for the naming of types, I am not sure, I have seen many projects with different naming conventions, some prefix types with a
I see your point however, I've updated the PR to keep names consistent.
Newbie question (typescript related)... I am not seeing any type definitions after an "npm install redux-undo" - it looks like npm is pulling down firstname.lastname@example.org by default. When I tried "npm install email@example.com", it says "invalid" and appears to be the unbuilt source tree.
Do I need to git clone it and build it myself? Are there docs for this?