Skip to content

Commit 4c15c32

Browse files
JohnStrickalexkrolick
authored andcommitted
Add Quill as an exported object to typings file (zenoamaro#362)
1 parent 7a3531c commit 4c15c32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ declare namespace ReactQuill {
8585
}
8686
}
8787

88-
declare class ReactQuill extends React.Component<ReactQuill.ComponentProps> {
88+
export default class ReactQuill extends React.Component<ReactQuill.ComponentProps> {
8989
focus(): void;
9090
blur(): void;
9191
getEditor(): Quill.Quill;
9292
}
9393

94-
export = ReactQuill;
94+
export { Quill } from "quill";

0 commit comments

Comments
 (0)