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

0.0.35 • Public • Published

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 * as express from "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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/node-sass-middleware

Weekly Downloads

396

Version

0.0.35

License

MIT

Unpacked Size

4.13 kB

Total Files

5

Last publish

Collaborators

  • types