Skip to content

Commit 48000ac

Browse files
committed
fix: timeout/waitForTimeout as string
1 parent 15ebf11 commit 48000ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightweight/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ export type MicrolinkApiOptions = {
110110
staleTtl?: string | number
111111
stream?: string
112112
styles?: string | string[]
113-
timeout?: number
113+
timeout?: string | number
114114
ttl?: string | number
115115
video?: boolean
116116
viewport?: object
117117
waitForSelector?: string
118-
waitForTimeout?: number
118+
waitForTimeout?: string | number
119119
waitUntil?: WaitUntilEvent | WaitUntilEvent[]
120120
}
121121

0 commit comments

Comments
 (0)