UNPKG

1.38 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/gulp-stylus`
3
4# Summary
5This package contains type definitions for gulp-stylus (https://github.com/stevelacy/gulp-stylus).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-stylus.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-stylus/index.d.ts)
10````ts
11// Type definitions for gulp-stylus 2.7
12// Project: https://github.com/stevelacy/gulp-stylus
13// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
16/// <reference types="node"/>
17
18declare function gulpStylus(options?: gulpStylus.Options): NodeJS.ReadWriteStream;
19
20declare namespace gulpStylus {
21 interface VariableDefinitions {
22 [variableName: string]: any;
23 }
24 interface Options {
25 compress?: boolean | undefined;
26 linenos?: boolean | undefined;
27 'include css'?: boolean | undefined;
28 rawDefine?: VariableDefinitions | undefined;
29 }
30}
31
32export = gulpStylus;
33
34````
35
36### Additional Details
37 * Last updated: Thu, 23 Dec 2021 23:34:47 GMT
38 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
39 * Global values: none
40
41# Credits
42These definitions were written by [DefinitelyTyped](https://github.com/DefinitelyTyped).
43
\No newline at end of file