Skip to content

Commit 7bf33e3

Browse files
Fix: Correct type definition
1 parent 3e664d3 commit 7bf33e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface DOMConfig {
4141
ALLOW_UNKNOWN_PROTOCOLS?: boolean
4242
ALLOWED_ATTR?: string[]
4343
ALLOWED_TAGS?: string[]
44-
ALLOWED_URI_REGEXP?: boolean
44+
ALLOWED_URI_REGEXP?: RegExp
4545
FORBID_ATTR?: string[]
4646
FORBID_TAGS?: string[]
4747
FORCE_BODY?: boolean
@@ -66,7 +66,7 @@ export interface Config {
6666
dom?: DOMConfig
6767
overrides?: SelectorsToElement,
6868
useFragment?: boolean,
69-
useAsKey: string[],
69+
useAsKey?: string[],
7070
}
7171

7272
/**

0 commit comments

Comments
 (0)