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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/express, @types/node-sass
Credits
These definitions were written by Pascal Garber.