Skip to content

Commit

Permalink
Revert "Remove unused export"
Browse files Browse the repository at this point in the history
This reverts commit b882b4a.
  • Loading branch information
Dominik Piatek authored and dpiatek committed Sep 27, 2023
1 parent fab49b8 commit 8980820
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import Spaces from './Spaces.js';

export type Space = Awaited<ReturnType<Spaces['get']>>;

// Note: this should be the only non-type export from this file,
// otherwise the rollup IIFE build will export an object instead of a constructor
// Can be changed to * when we update to TS5

export default Spaces;

// Can be changed to * when we update to TS5
export type {
CursorsOptions,
CursorPosition,
Expand All @@ -18,3 +17,5 @@ export type {
Lock,
LockStatus,
} from './types.js';

export { LockAttributes } from './Locks.js';

0 comments on commit 8980820

Please sign in to comment.