@types/coffeeify
TypeScript icon, indicating that this package has built-in type declarations

0.0.33 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/coffeeify

Weekly Downloads

313

Version

0.0.33

License

MIT

Unpacked Size

4 kB

Total Files

5

Last publish

Collaborators

  • types