Installation
npm install --save @types/coffeeify
Summary
This package contains type definitions for coffeeify (https://github.com/jnordberg/coffeeify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/coffeeify.
index.d.ts
import through = require("through");
declare namespace coffeeify {
interface Coffeeify {
isCoffee(file: string): boolean;
isLiterate(file: string): boolean;
sourceMap: boolean;
compile(file: string, data: string, callback: Callback): void;
(file: string): through.ThroughStream;
}
interface Callback {
(error: ParseError, compiled: string): void;
}
interface ParseError extends SyntaxError {
new(error: any, src: string, file: string): ParseError;
message: string;
line: number;
column: number;
annotated: string;
}
}
declare var coffeeify: coffeeify.Coffeeify;
export = coffeeify;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/through
Credits
These definitions were written by Qubo.