Installation
npm install --save @types/node-sass-tilde-importer
Summary
This package contains type definitions for node-sass-tilde-importer (https://github.com/matthewdavidson/node-sass-tilde-importer#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-sass-tilde-importer.
index.d.ts
import { ImporterReturnType } from "node-sass";
/**
* A node-sass custom importer which turns ~ into absolute paths to the nearest parent node_modules directory.
*/
declare function importer(url: string, prev: string): ImporterReturnType;
declare function importer(url: string, prev: string, done: (data: ImporterReturnType) => void): void;
export = importer;
Additional Details
- Last updated: Tue, 07 Nov 2023 0939 GMT
- Dependencies: @types/node-sass
Credits
These definitions were written by Piotr Błażejewicz.