@types/gulp-sass
TypeScript definitions for gulp-sass
Last updated 5 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/gulp-sass 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/gulp-sass

Summary

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

Details

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

index.d.ts

// Type definitions for gulp-sass 5.0.0
// Project: https://github.com/dlmanning/gulp-sass
// Definitions by: Asana <https://asana.com>
//                 Yuma Hashimoto <https://github.com/yuma84>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7

/// <reference types="node"/>

import { Options } from 'node-sass';

interface SassResults {
    css: string;
    map: string;
    stats: {
        entry: string;
        start: Date;
        end: Date;
        duration: number;
        includedFiles: string[];
    }
}

interface SassOptions extends Options {
    success?: ((results: SassResults) => any) | undefined;
    error?: ((err: Error) => any) | undefined;
    imagePaths?: string[] | undefined;
}

interface GulpSassOptions extends SassOptions {
    errLogToConsole?: boolean | undefined;
    onSuccess?: ((css: string) => any) | undefined;
    onError?: ((err: Error) => any) | undefined;
    sync?: boolean | undefined;
}

interface GulpSass {
    (opts?: GulpSassOptions): NodeJS.ReadWriteStream;
    logError(error?: string): void;
    sync(options?: GulpSassOptions): NodeJS.ReadWriteStream;
}

type Compiler = any;

interface GulpSassFactory {
    (compiler: Compiler): GulpSass
}

declare var _tmp: GulpSassFactory;
export = _tmp;

Additional Details

Credits

These definitions were written by Asana, and Yuma Hashimoto.

Current Tags

  • 5.0.0                                ...           latest (5 years ago)
  • 0.0.31                                ...           ts2.0 (8 years ago)
  • 0.0.31                                ...           ts2.1 (8 years ago)
  • 0.0.31                                ...           ts2.2 (8 years ago)
  • 0.0.31                                ...           ts2.3 (8 years ago)
  • 0.0.31                                ...           ts2.4 (8 years ago)
  • 0.0.31                                ...           ts2.5 (8 years ago)
  • 0.0.31                                ...           ts2.6 (8 years ago)
  • 4.0.0                                ...           ts2.7 (7 years ago)
  • 4.0.0                                ...           ts2.8 (7 years ago)
  • 4.0.0                                ...           ts2.9 (7 years ago)
  • 4.0.0                                ...           ts3.0 (7 years ago)
  • 4.0.0                                ...           ts3.1 (7 years ago)
  • 4.0.0                                ...           ts3.2 (7 years ago)
  • 4.0.0                                ...           ts3.3 (7 years ago)
  • 4.0.0                                ...           ts3.4 (7 years ago)
  • 4.0.0                                ...           ts3.5 (7 years ago)
  • 5.0.0                                ...           ts3.6 (5 years ago)
  • 5.0.0                                ...           ts3.7 (5 years ago)
  • 5.0.0                                ...           ts3.8 (5 years ago)
  • 5.0.0                                ...           ts3.9 (5 years ago)
  • 5.0.0                                ...           ts4.0 (5 years ago)
  • 5.0.0                                ...           ts4.1 (5 years ago)
  • 5.0.0                                ...           ts4.2 (5 years ago)
  • 5.0.0                                ...           ts4.3 (5 years ago)
  • 5.0.0                                ...           ts4.4 (5 years ago)
  • 5.0.0                                ...           ts4.5 (5 years ago)
  • 5.0.0                                ...           ts4.6 (5 years ago)

15 Versions

  • 5.0.0                                ...           5 years ago
  • 4.0.0                                ...           7 years ago
  • 0.0.31                                ...           8 years ago
  • 0.0.30                                ...           9 years ago
  • 0.0.29                                ...           10 years ago
  • 0.0.28                                ...           10 years ago
  • 0.0.27-alpha                                ...           10 years ago
  • 0.0.26-alpha                                ...           10 years ago
  • 0.0.25-alpha                                ...           10 years ago
  • 0.0.24-alpha                                ...           10 years ago
  • 0.0.23-alpha                                ...           10 years ago
  • 0.0.22-alpha                                ...           10 years ago
  • 0.0.21-alpha                                ...           10 years ago
  • 0.0.16-alpha                                ...           10 years ago
  • 0.0.15-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |