File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export async function ensureWebUiLib(baseLibName: string): Promise<string> {
266266 * @param {string } value
267267 * @returns a char[].
268268 */
269- export function toCString ( value : string ) : Uint8Array < ArrayBuffer > {
269+ export function toCString ( value : string ) : Uint8Array {
270270 return new TextEncoder ( ) . encode ( value + "\0" ) ;
271271}
272272
Original file line number Diff line number Diff line change @@ -650,7 +650,7 @@ export class WebUI {
650650 * @param functionName - The name of the function to send data to.
651651 * @param raw - The raw data to send.
652652 */
653- sendRaw ( functionName : string , raw : Uint8Array < ArrayBuffer > ) : void {
653+ sendRaw ( functionName : string , raw : Uint8Array ) : void {
654654 this . #lib. symbols . webui_send_raw (
655655 BigInt ( this . #window) ,
656656 toCString ( functionName ) ,
You can’t perform that action at this time.
0 commit comments