npm.io
0.0.36 • Published 10 months ago

@types/node-sass-middleware

Licence
MIT
Version
0.0.36
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/node-sass-middleware

Summary

This package contains type definitions for node-sass-middleware (https://github.com/sass/node-sass-middleware).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-sass-middleware.

index.d.ts

import express = require("express");
import * as sass from "node-sass";

interface Options extends sass.Options {
    /** */
    src: string;
    /** */
    dest?: string | undefined;
    /** */
    root?: string | undefined;
    /** */
    prefix?: string | undefined;
    /** */
    force?: boolean | undefined;
    /** */
    debug?: boolean | undefined;
    /** */
    indentedSyntax?: boolean | undefined;
    /** */
    response?: boolean | undefined;
    /** */
    error?: (() => void) | undefined;
}

/** */

declare function nodeSassMiddleware(options: Options): express.RequestHandler;

/** */
declare namespace nodeSassMiddleware {}

/** */
export = nodeSassMiddleware;

Additional Details

Credits

These definitions were written by Pascal Garber.