Skip to content

receive() signature in src/index.ts should be the same one as the one in event-handler/index.ts #423

@oscard0m

Description

@oscard0m
- recive(options: {id: string, name: string, payload: any})
+ recive(event: EventWebhookEvent)

Actually it should be the other way around - I've deliberately not modified that type because I don't want to blow out the scope of the PR more than needed, and the types are compatible so it's not a required change.

Originally posted by @G-Rath in #422 (comment)

Metadata

Metadata

Assignees

Labels

Type: MaintenanceAny dependency, housekeeping, and clean up Issue or PRtypescriptRelevant to TypeScript users only

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions