Skip to content

Commit

Permalink
chore: fix return typing of topic() (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed May 1, 2023
2 parents 4ca1864 + 16c6a33 commit 796e12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/topic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ export const topic = make(TopicResource) as <
T extends Record<string, any> = Record<string, any>
>(
name: string
) => TopicResource<NitricEvent<T>>;
) => TopicResource<T>;

0 comments on commit 796e12f

Please sign in to comment.