npm.io
0.1.2 • Published 2 years ago

@types/bem-classname

Licence
MIT
Version
0.1.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/bem-classname

Summary

This package contains type definitions for bem-classname (https://github.com/Sunify/bem-classname).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bem-classname.

index.d.ts

type Block = string;
type Element = string;
type Modifier = string;
type Modifiers = unknown[] | Record<string, unknown>;

declare function bemClassName(
    block: Block,
    elementOrModifiers?: Element | Modifiers,
    modifier?: Modifier | Modifiers,
): string;

export = bemClassName;

Additional Details

  • Last updated: Mon, 06 Nov 2023 2204 GMT
  • Dependencies: none

Credits

These definitions were written by pvcresin.