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

Installation

npm install --save @types/icss-utils

Summary

This package contains type definitions for icss-utils (https://github.com/css-modules/icss-utils#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/icss-utils.

index.d.ts

// Type definitions for icss-utils 5.1
// Project: https://github.com/css-modules/icss-utils#readme
// Definitions by: Bob Matcuk <https://github.com/bmatcuk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

import { Container, Rule } from "postcss";

export interface Replacements {
    [key: string]: string;
}

export interface CSSImports {
    [key: string]: { [key: string]: string };
}

export interface CSSExports {
    [key: string]: string;
}

export interface ExtractedICSS {
    icssImports: CSSImports;
    icssExports: CSSExports;
}

export function replaceValueSymbols(value: string, replacements: Replacements): string;

export function replaceSymbols(css: Container, replacements: Replacements): void;

export function extractICSS(css: Container, removeRules?: boolean): ExtractedICSS;

export function createICSSRules(imports: CSSImports, exports: CSSExports): Rule[];

Additional Details

  • Last updated: Thu, 18 Nov 2021 19:01:38 GMT
  • Dependencies: @types/postcss
  • Global values: none

Credits

These definitions were written by Bob Matcuk.

Current Tags

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

2 Versions

  • 5.1.0                                ...           4 years ago
  • 4.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |