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

When I install on my project #340

Open
metaKHT opened this issue Apr 24, 2024 · 1 comment
Open

When I install on my project #340

metaKHT opened this issue Apr 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@metaKHT
Copy link

metaKHT commented Apr 24, 2024

when I do ' npm i '

src/main.ts:45:9 - error TS2345: Argument of type '{ install: FunctionPlugin<any[]>; }' is not assignable to parameter of type 'Plugin<[]>'.
Type '{ install: FunctionPlugin<any[]>; }' is not assignable to type 'FunctionPlugin<[]>'.
Type '{ install: FunctionPlugin<any[]>; }' is not assignable to type '(app: App) => any'.
Type '{ install: FunctionPlugin<any[]>; }' provides no match for the signature '(app: App): any'.

45 app.use(OpenLayersMap);
~~~~~~~~~~~~~

     I can't use it.
@metaKHT metaKHT added the bug Something isn't working label Apr 24, 2024
@d-koppenhagen
Copy link
Collaborator

pleas give more context for investigation:

  • Vue Version
  • Vite / other Bundler version, used plugins, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants