Skip to content

Commit 5bffa70

Browse files
leethreealyezz
authored andcommitted
Fix type for setPrimaryColor (#384)
1 parent 5c1d6b7 commit 5bffa70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function setFloatingButtonEdge(
138138
): void;
139139
export function setLocale(locale: locale): void;
140140
export function setColorTheme(colorTheme: colorTheme): void;
141-
export function setPrimaryColor(setPrimaryColor: number): void;
141+
export function setPrimaryColor(color: string): void;
142142
export function appendTags(tags: string[]): void;
143143
export function resetTags(): void;
144144
export function getTags(tagsCallback: () => void): void;
@@ -350,4 +350,4 @@ export enum strings {
350350

351351
interface Survey {
352352
title: string
353-
}
353+
}

0 commit comments

Comments
 (0)