Skip to content

Commit

Permalink
Make output compatible with babel-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Aug 18, 2022
1 parent 412e2d8 commit 00f02ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/emitter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as EventEmitter from 'eventemitter3';
import EventEmitter from 'eventemitter3';
import instances from './instances';
import logger from './logger';

Expand Down
2 changes: 1 addition & 1 deletion core/quill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class Quill {
return this.scroll.line(index);
}

getLines(index: { index: number; length: number }): (Block | BlockEmbed)[];
getLines(range: { index: number; length: number }): (Block | BlockEmbed)[];
getLines(index?: number, length?: number): (Block | BlockEmbed)[];
getLines(
index: { index: number; length: number } | number = 0,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "es6",
"sourceMap": true,
"declaration": true,
Expand Down

0 comments on commit 00f02ca

Please sign in to comment.