Skip to content

Commit 383c486

Browse files
committed
Add support for null, undefined for attribute values
1 parent e66004e commit 383c486

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ interface DirectiveFields {
1212
/**
1313
* Directive attributes.
1414
*/
15-
attributes?: Record<string, string> | undefined
15+
// eslint-disable-next-line @typescript-eslint/ban-types
16+
attributes?: Record<string, string | null | undefined> | null | undefined
1617
}
1718

1819
/**

0 commit comments

Comments
 (0)