Skip to content

Commit

Permalink
fixup! feat(types): ExoObj utility
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Feb 29, 2024
1 parent 369ebec commit 57bce86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/internal/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ export declare class SyncCallback<
}

declare global {
/**
* Utility for the type of an Exo object once prepared and instantiated.
*/
type ExoObj<T> = Awaited<ReturnType<Awaited<ReturnType<T>>>>;
}

0 comments on commit 57bce86

Please sign in to comment.