Skip to content

Commit

Permalink
Update TS definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Sep 11, 2024
1 parent 451aff7 commit eb49015
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion node/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,15 @@ export interface CSSModulesConfig {
/** The pattern to use when renaming class names and other identifiers. Default is `[hash]_[local]`. */
pattern?: string,
/** Whether to rename dashed identifiers, e.g. custom properties. */
dashedIdents?: boolean
dashedIdents?: boolean,
/** Whether to enable hashing for `@keyframes`. */
animation?: boolean,
/** Whether to enable hashing for CSS grid identifiers. */
grid?: boolean,
/** Whether to enable hashing for custom identifiers. */
customIdents?: boolean,
/** Whether to require at least one class or id selector in each rule. */
pure?: boolean
}

export type CSSModuleExports = {
Expand Down

0 comments on commit eb49015

Please sign in to comment.