mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
20 lines
383 B
TypeScript
20 lines
383 B
TypeScript
// Type definitions for PEG.js
|
|
// Project: http://pegjs.majda.cz/
|
|
// Definitions by: vvakame <https://github.com/vvakame>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module PEG {
|
|
function parse(input:string):any;
|
|
|
|
class SyntaxError {
|
|
line:number;
|
|
column:number;
|
|
offset:number;
|
|
|
|
expected:any[];
|
|
found:any;
|
|
name:string;
|
|
message:string;
|
|
}
|
|
}
|