Skip to content

Commit

Permalink
chore(shims): add shims for vue & @rollup/plugin-beep
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Aug 19, 2021
1 parent 0144f9e commit 03ca6ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shims/@rollup/plugin-beep.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// TODO: Remove this once https://github.com/rollup/plugins/pull/969 is merged
declare module '@rollup/plugin-beep' {
import { Plugin } from 'rollup';
export default function beep(): Plugin;
}
7 changes: 7 additions & 0 deletions shims/vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare module '*.vue' {
import type { App, DefineComponent, Plugin } from 'vue';
const component: DefineComponent<{}, {}, any> & {
install(app: App): Exclude<Plugin['install'], undefined>;
};
export default component;
}

0 comments on commit 03ca6ad

Please sign in to comment.