typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
20 lines (16 loc) • 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;
}
}