mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #6904 from kode4food/patch-1
Updating for the most recent version of PEG.js
This commit is contained in:
Vendored
+15
-4
@@ -6,11 +6,22 @@
|
||||
declare module PEG {
|
||||
function parse(input:string):any;
|
||||
|
||||
class SyntaxError {
|
||||
line:number;
|
||||
column:number;
|
||||
offset:number;
|
||||
interface Location {
|
||||
line: number;
|
||||
column: number;
|
||||
offset: number;
|
||||
}
|
||||
|
||||
interface LocationRange {
|
||||
start: Location,
|
||||
end: Location
|
||||
}
|
||||
|
||||
class SyntaxError {
|
||||
line: number;
|
||||
column: number;
|
||||
offset: number;
|
||||
location: LocationRange;
|
||||
expected:any[];
|
||||
found:any;
|
||||
name:string;
|
||||
|
||||
Reference in New Issue
Block a user