Files
libjass/build/node.d.ts
2015-09-16 20:41:10 -07:00

19 lines
629 B
TypeScript

// Type definitions for Node.js v0.12.0
// Project: http://nodejs.org/
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/borisyankov/DefinitelyTyped>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare var require: {
resolve(id: string): string;
};
declare module "fs" {
export function existsSync(filename: string): boolean;
export function readFileSync(filename: string, options: { encoding: string }): string;
}
declare module "path" {
export function basename(p: string, ext?: string): string;
export function extname(p: string): string;
}