Skip to content

Commit fb898dc

Browse files
committed
fix: add url type for media
1 parent a73c348 commit fb898dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightweight/index.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,16 @@ type IframeInfo = {
100100
}
101101

102102
type MediaInfo = {
103+
url: string;
103104
type?: string;
104105
palette?: string[];
105106
background_color?: string;
106107
color?: string;
107108
alternative_color?: string;
108109
width?: number;
109110
height?: number;
110-
duration?: number;
111-
duration_pretty?: string;
111+
duration?: number;
112+
duration_pretty?: string;
112113
}
113114

114115
type MqlResponseData = {

0 commit comments

Comments
 (0)