Created
March 4, 2021 07:11
-
-
Save itwondersteam/527afca6a66f8fc63fb41a3c3c54c417 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /src/ui/shims-provider.d.ts | |
/* eslint-disable @typescript-eslint/interface-name-prefix */ | |
import { IProvider } from '@/services' | |
declare module 'vue/types/options' { | |
interface ComponentOptions<V extends Vue> { | |
services?: IProvider | |
} | |
} | |
declare module 'vue/types/vue' { | |
interface Vue { | |
$services: IProvider | |
} | |
} | |
declare module 'vuex/types/index' { | |
interface Store<S> { | |
$services: IProvider | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment