Skip to content

Conversation

lance
Copy link
Member

@lance lance commented Jun 3, 2020

This commit modifies the existing TypeScript files with improved
(read: functional) typings for function parameters. This became an
issue when trying to use the module in an existing TypeScript module.

Tests for the TypeScript files have been moved to a new test folder
specifically for testing TypeScript usage via ts-node.

Signed-off-by: Lance Ball [email protected]

This commit modifies the existing TypeScript files with improved
(read: functional) typings for function parameters. This became an
issue when trying to use the module in an existing TypeScript module.

Tests for the TypeScript files have been moved to a new test folder
specifically for testing TypeScript usage via ts-node.

Signed-off-by: Lance Ball <[email protected]>
@lance lance added the type/bug Something isn't working label Jun 3, 2020
@lance lance requested review from danbev, fabiojose and helio-frota June 3, 2020 18:05
@lance lance self-assigned this Jun 3, 2020
@lance lance changed the title fix: add correct types to improve TypeScript behavior fix: add correct types to improve usage in TypeScript projects Jun 3, 2020
Copy link
Contributor

@lholmquist lholmquist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm install and npm test work

@lance lance merged commit da365e0 into cloudevents:master Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants