Skip to content

Commit c471aba

Browse files
authored
Merge pull request #3 from ldawkes/typescript-definitions
Fix TypeScript complaining about default import
2 parents cb1f590 + 882645e commit c471aba

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import {PluginFunction} from 'vue';
2+
13
export interface Announcer
24
{
35
data: Record<string, any>;
@@ -12,3 +14,10 @@ declare module 'vue/types/vue'
1214
$announcer: Announcer;
1315
}
1416
}
17+
18+
declare class VueAnnouncer
19+
{
20+
static install: PluginFunction<never>;
21+
}
22+
23+
export default VueAnnouncer;

0 commit comments

Comments
 (0)