@types/gulp-ruby-sass
Type definitions for gulp-ruby-sass v1.0.5 from https://www.github.com/DefinitelyTyped/DefinitelyTyped
Last updated 10 years ago by types .
MIT · Original npm · Tarball · package.json
$ cnpm install @types/gulp-ruby-sass 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/gulp-ruby-sass

Summary

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

Details

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

index.d.ts

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

/**
 * The interface includes all options that available for sass executable.
 * Options are converted from dashed to camelCase
 * @interface SassOptions
 */
interface SassOptions {
    loadPath?: string | string[] | undefined;
    require?: string | undefined;
    compass?: boolean | undefined;
    style?: string | undefined;
    force?: boolean | undefined;
    stopOnError?: boolean | undefined;
    scss?: boolean | undefined;
    defaultEncoding?: string | undefined;
    unixNewlines?: boolean | undefined;
    debugInfo?: boolean | undefined;
    lineNumbers?: boolean | undefined;
    lineComments?: boolean | undefined;
    check?: boolean | undefined;
    precision?: number | undefined;
    cacheLocation?: string | undefined;
    noCache?: boolean | undefined;
    trace?: boolean | undefined;
    quiet?: boolean | undefined;

    // Actually, there should be a string. However due to ts spec, overriding member should be the same type or a subtype.
    // https://stackoverflow.com/questions/19605557/incompatible-static-properties-in-three-d-ts-with-latest-typescript
    // We need Options.soucemap to be boolean, so here 'any' is used instead of string.
    sourcemap?: any;

    // All listed below options are acceptable by the sass executable and potentially may be used from js.
    // However I doubt are there cases when it's meaningful
    watch?: string | undefined;
    update?: string | undefined;
    stdin?: boolean | undefined;
    interactive?: boolean | undefined;
}

/**
 * The interface includes the node-ruby-sass only options.
 * Attention: sourcemap option type differs from the same SassOption's type.
 * @interface Options
 */
interface Options extends SassOptions {
    verbose?: boolean | undefined;
    bundleExec?: boolean | undefined;
    sourcemap?: boolean | undefined;
    container?: string | undefined;
}

/**
 * Object to be exported
 * @param {string} source - Filename or directory
 * @param {Options} options - Additional processing rules/options
 */
declare function sass(source: string, options?: Options): NodeJS.ReadableStream;

declare namespace sass {}

export = sass;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Agnislav Onufrijchuk.

Current Tags

  • 1.0.38                                ...           latest (2 years ago)
  • 1.0.31                                ...           ts2.0 (8 years ago)
  • 1.0.31                                ...           ts2.1 (8 years ago)
  • 1.0.31                                ...           ts2.2 (8 years ago)
  • 1.0.31                                ...           ts2.3 (8 years ago)
  • 1.0.31                                ...           ts2.4 (8 years ago)
  • 1.0.31                                ...           ts2.5 (8 years ago)
  • 1.0.31                                ...           ts2.6 (8 years ago)
  • 1.0.31                                ...           ts2.7 (8 years ago)
  • 1.0.31                                ...           ts2.8 (8 years ago)
  • 1.0.31                                ...           ts2.9 (8 years ago)
  • 1.0.31                                ...           ts3.0 (8 years ago)
  • 1.0.31                                ...           ts3.1 (8 years ago)
  • 1.0.31                                ...           ts3.2 (8 years ago)
  • 1.0.31                                ...           ts3.3 (8 years ago)
  • 1.0.31                                ...           ts3.4 (8 years ago)
  • 1.0.31                                ...           ts3.5 (8 years ago)
  • 1.0.32                                ...           ts3.6 (5 years ago)
  • 1.0.33                                ...           ts3.7 (5 years ago)
  • 1.0.33                                ...           ts3.8 (5 years ago)
  • 1.0.33                                ...           ts3.9 (5 years ago)
  • 1.0.33                                ...           ts4.0 (5 years ago)
  • 1.0.33                                ...           ts4.1 (5 years ago)
  • 1.0.33                                ...           ts4.2 (5 years ago)
  • 1.0.35                                ...           ts4.3 (3 years ago)
  • 1.0.35                                ...           ts4.4 (3 years ago)
  • 1.0.38                                ...           ts4.5 (2 years ago)
  • 1.0.38                                ...           ts4.6 (2 years ago)
  • 1.0.38                                ...           ts4.7 (2 years ago)
  • 1.0.38                                ...           ts4.8 (2 years ago)
  • 1.0.38                                ...           ts4.9 (2 years ago)
  • 1.0.38                                ...           ts5.0 (2 years ago)
  • 1.0.38                                ...           ts5.1 (2 years ago)
  • 1.0.38                                ...           ts5.2 (2 years ago)
  • 1.0.38                                ...           ts5.3 (2 years ago)
  • 1.0.38                                ...           ts5.4 (2 years ago)
  • 1.0.38                                ...           ts5.5 (2 years ago)
  • 1.0.38                                ...           ts5.6 (2 years ago)
  • 1.0.38                                ...           ts5.7 (2 years ago)
  • 1.0.38                                ...           ts5.8 (2 years ago)
  • 1.0.38                                ...           ts5.9 (2 years ago)

20 Versions

  • 1.0.38                                ...           2 years ago
  • 1.0.37                                ...           2 years ago
  • 1.0.36                                ...           3 years ago
  • 1.0.35                                ...           3 years ago
  • 1.0.34                                ...           3 years ago
  • 1.0.33                                ...           5 years ago
  • 1.0.32                                ...           5 years ago
  • 1.0.31                                ...           8 years ago
  • 1.0.30                                ...           9 years ago
  • 1.0.29                                ...           10 years ago
  • 1.0.28                                ...           10 years ago
  • 1.0.27-alpha                                ...           10 years ago
  • 1.0.26-alpha                                ...           10 years ago
  • 1.0.25-alpha                                ...           10 years ago
  • 1.0.24-alpha                                ...           10 years ago
  • 1.0.23-alpha                                ...           10 years ago
  • 1.0.22-alpha                                ...           10 years ago
  • 1.0.21-alpha                                ...           10 years ago
  • 1.0.16-alpha                                ...           10 years ago
  • 1.0.15-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |