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.