-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a TS error when using Inngest in projects with
composite
setting (
#460) ## Summary <!-- Succinctly describe your change, providing context, what you've changed, and why. --> This PR Adds some type exports to `index.ts` that fix a TS error in composite projects. After changes to the `types.ts` the issue #384 appeared again. This PR is similar to #385 - it fixes the TS error by adding necessary exports to the `index.ts` ## Checklist - [ ] ~~Added a [docs PR](https://github.com/inngest/website) that references this PR~~ N/A no docs needed - [ ] ~~Added unit/integration tests~~ N/A not testable - [x] Added changesets if applicable ## Related - #385 - #384 --------- Co-authored-by: Jack Williams <1736957+jpwilliams@users.noreply.github.com>
- Loading branch information
1 parent
f88d474
commit a225206
Showing
4 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"inngest": patch | ||
--- | ||
|
||
Add exports for `FinishedEventPayload` and `Context` types to fix a TypeScript error when using Inngest in projects with `composite` setting in `tsconfig`. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters