Skip to content

Commit a67a223

Browse files
committed
fix return type
1 parent 65d23ae commit a67a223

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/v8.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,8 @@ export default class CSInterface {
757757
* </ul>\n
758758
*/
759759
openURLInDefaultBrowser(url: string): number {
760-
return window.cep.util.openURLInDefaultBrowser(url);
760+
const result = window.cep.util.openURLInDefaultBrowser(url);
761+
return result.err;
761762
}
762763

763764
/**

0 commit comments

Comments
 (0)