Skip to content

Vue app build is broken #468

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

Closed
mayank30 opened this issue Feb 4, 2020 · 4 comments
Closed

Vue app build is broken #468

mayank30 opened this issue Feb 4, 2020 · 4 comments

Comments

@mayank30
Copy link

mayank30 commented Feb 4, 2020

types/index.d.ts

const vToolTip: PluginFunction;

It should be export appended on top of it .

@rijkvanzanten
Copy link

For reference, this is the error that's returned:

ERROR in /path/to/node_modules/v-tooltip/types/index.d.ts(3,1):
3:1 Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
    1 | import Vue, { VueConstructor, DirectiveOptions,
 PluginFunction } from 'vue';
    2 | 
  > 3 | const vToolTip: PluginFunction<any>;
      | ^
    4 | export default vToolTip;
    5 | 
    6 | export const VPopover: VueConstructor<Vue>;

@rijkvanzanten
Copy link

rijkvanzanten commented Feb 7, 2020

#464 is a fix for this issue, this issue is a duplicate of #459

@elwin013
Copy link

Until #464 (or sth similar) is merged local solution is here - #459 (comment)

@Akryum
Copy link
Owner

Akryum commented Dec 30, 2020

Duplicate of #459

@Akryum Akryum marked this as a duplicate of #459 Dec 30, 2020
@Akryum Akryum closed this as completed Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants