Skip to content

Commit

Permalink
api/registerForEvents types: Annotate rawInitialData variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe committed May 6, 2022
1 parent 579ef40 commit 4f6b892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/registerForEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default async (
queue_lifespan_secs?: number,
|},
): Promise<InitialData> => {
const rawInitialData = await apiPost(auth, 'register', {
const rawInitialData: RawInitialData = await apiPost(auth, 'register', {
...params,

// These parameters affect the types of what we receive from the
Expand Down

0 comments on commit 4f6b892

Please sign in to comment.