-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Description
I updated to 2.0.3 but it now gives a typescript error:
ERROR in .../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>;
I think it is resolved by changing lines 3 and 4 to one line:
export default const vToolTip: PluginFunction<any>;At least with this I have no typescript error anymore, but I am not sure if this changes the meaning.
fateevv, timfeid, Al-Rozhkov, konovalov-nk, brolnickij and 24 morekonovalov-nk, brolnickij, mad4hit, granttchart and rijkvanzanten
Metadata
Metadata
Assignees
Labels
No labels