mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
add pegjs.d.ts
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user