Skip to content

Commit 4f2b656

Browse files
authored
Add undefined to AllowedPropertyValues type (#174)
1 parent 9a406c4 commit 4f2b656

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/web/src/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ interface CustomEvent {
1010
export type BeforeSendEvent = PageViewEvent | CustomEvent;
1111

1212
export type Mode = 'auto' | 'development' | 'production';
13-
export type AllowedPropertyValues = string | number | boolean | null;
13+
export type AllowedPropertyValues =
14+
| string
15+
| number
16+
| boolean
17+
| null
18+
| undefined;
1419

1520
export type BeforeSend = (event: BeforeSendEvent) => BeforeSendEvent | null;
1621

0 commit comments

Comments
 (0)