add missing types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ export interface IPosition {
|
||||
}
|
||||
|
||||
type Callback = (part: Part, startIdx: number, endIdx: number) => void;
|
||||
type Predicate = (index: number, offset: number, part: Part) => boolean;
|
||||
export type Predicate = (index: number, offset: number, part: Part) => boolean;
|
||||
|
||||
export default class DocumentPosition implements IPosition {
|
||||
constructor(public readonly index: number, public readonly offset: number) {
|
||||
|
||||
Reference in New Issue
Block a user