Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with [email protected] (latest) #93

Closed
seirakei opened this issue Aug 18, 2021 · 2 comments
Closed

Incompatible with [email protected] (latest) #93

seirakei opened this issue Aug 18, 2021 · 2 comments

Comments

@seirakei
Copy link

Running the example:

$ deno run -Ar --unstable https://deno.land/x/webview/examples/local.ts

Error:

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/[email protected]/examples/local.ts:12:3

Well, this is maybe just a typescript related problem.

Running the example (without type checking):

$ deno run -Ar --unstable --no-check https://deno.land/x/webview/examples/local.ts

Error:

error: Uncaught (in promise) TypeError: Deno.openPlugin is not a function
  return Deno.openPlugin(file.path);
              ^
    at Module.prepare (https://deno.land/x/[email protected]/plug.ts:85:15)
    at async https://deno.land/x/[email protected]/plugin.ts:8:73

This library have potential but it looks like it's abandoned

@seirakei
Copy link
Author

Full output of deno --version if it helps:

$ deno --version
deno 1.13.1 (release, x86_64-pc-windows-msvc)
v8 9.3.345.11
typescript 4.3.5

@seirakei
Copy link
Author

seirakei commented Aug 18, 2021

As stated here, I need to wait for the PR to be merged. I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant