From eb49015cf887ae720b80a2856ccbdf61bf940ef1 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Tue, 10 Sep 2024 22:41:50 -0400 Subject: [PATCH] Update TS definitions --- node/index.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/node/index.d.ts b/node/index.d.ts index d138359b..334afc00 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -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 = {