Skip to content

Commit

Permalink
Merge pull request #19 from reedsy/fix-types
Browse files Browse the repository at this point in the history
🏷️ Fix type definitions
  • Loading branch information
alecgibson authored Jul 17, 2024
2 parents afe4ef7 + e9dd662 commit 33110c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
declare module '@reedsy/rich-text' {
export * as Delta from '@reedsy/quill-delta';
import sharedb from 'sharedb';
import Delta from '@reedsy/quill-delta';
import * as sharedb from 'sharedb';

export type Type = (typeof sharedb)['types']['map'][string];

export {Delta};

export const config: {
serializedProperties: Record<string, boolean>;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reedsy/rich-text",
"version": "4.1.0-reedsy.4.1.0",
"version": "4.1.0-reedsy.4.1.1",
"description": "OT type for rich text",
"author": "Jason Chen <[email protected]>",
"homepage": "https://github.com/ottypes/rich-text",
Expand Down

0 comments on commit 33110c8

Please sign in to comment.