You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ deno run -Ar --unstable https://deno.land/x/webview/examples/local.ts
Check https://deno.land/x/webview/examples/local.ts
error: TS2345 [ERROR]: Argument of type '{ url: string; }' is not assignable to parameter of type 'boolean | undefined'.
Type '{ url: string; }' is not assignable to type 'true'.
{ url: `data:text/html,${encodeURIComponent(html)}` },
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at https://deno.land/x/webview@0.6.0-pre.0/examples/local.ts:12:3
The text was updated successfully, but these errors were encountered:
@eliassjogreen regardless of this, the example should typecheck. Could you correct the example code so that it at least doesn't throw this typescript error?
$ deno run -Ar --unstable https://deno.land/x/webview/examples/local.ts
The text was updated successfully, but these errors were encountered: