Skip to content

Add test using type parameters.#232

Open
ajvincent wants to merge 1 commit into
dagrejs:masterfrom
ajvincent:typeparameters
Open

Add test using type parameters.#232
ajvincent wants to merge 1 commit into
dagrejs:masterfrom
ajvincent:typeparameters

Conversation

@ajvincent
Copy link
Copy Markdown

Fixes #231 .

@ajvincent
Copy link
Copy Markdown
Author

After thinking about this a bit, I'm starting to think this was a Bad Idea. If the types were incorrect, the compiler largely would've caught them as errors (that's kind of the whole point of TypeScript). The test is more valuable as a "here's how you use types" example than as an actual test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Examples of type parameters in README, tests?

1 participant