Skip to content

Commit

Permalink
chore(types): Drop unused SetSession type (#2231)
Browse files Browse the repository at this point in the history
* chore(types): Drop unused `SetSession` type

* chore(repo): Add changeset
  • Loading branch information
dimkl authored Nov 29, 2023
1 parent 2b1d767 commit c923867
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .changeset/mighty-melons-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 0 additions & 5 deletions packages/types/src/clerk.retheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ export interface SignOut {
(signOutCallback?: SignOutCallback, options?: SignOutOptions): Promise<void>;
}

export type SetSession = (
session: ActiveSessionResource | string | null,
beforeEmit?: BeforeEmitCallback,
) => Promise<void>;

/**
* Main Clerk SDK object.
*/
Expand Down
5 changes: 0 additions & 5 deletions packages/types/src/clerk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ export interface SignOut {
(signOutCallback?: SignOutCallback, options?: SignOutOptions): Promise<void>;
}

export type SetSession = (
session: ActiveSessionResource | string | null,
beforeEmit?: BeforeEmitCallback,
) => Promise<void>;

/**
* Main Clerk SDK object.
*/
Expand Down

0 comments on commit c923867

Please sign in to comment.