Fix typing
This commit is contained in:
Родитель
43efb281b2
Коммит
4b766df5d7
|
@ -78,7 +78,7 @@ export declare const enum FindOption {
|
|||
DebugCall = 8
|
||||
}
|
||||
export interface OnigScanner {
|
||||
findNextMatchSync(string: string | OnigString, startPosition: number, options: number): IOnigMatch;
|
||||
findNextMatchSync(string: string | OnigString, startPosition: number, options: number): IOnigMatch | null;
|
||||
dispose?(): void;
|
||||
}
|
||||
export interface OnigString {
|
||||
|
|
|
@ -101,7 +101,7 @@ export const enum FindOption {
|
|||
}
|
||||
|
||||
export interface OnigScanner {
|
||||
findNextMatchSync(string: string | OnigString, startPosition: number, options: number): IOnigMatch;
|
||||
findNextMatchSync(string: string | OnigString, startPosition: number, options: number): IOnigMatch | null;
|
||||
dispose?(): void;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче