mixit/src/components/ServiceClient.ts

15 lines
290 B
TypeScript
Raw Normal View History

2019-05-01 15:07:08 +00:00
import { Component, Prop } from 'vue-property-decorator'
import { Auth } from '@/types/App'
import ServiceEmiter from './ServiceEmiter'
@Component
export default class ServiceClient<O> extends ServiceEmiter {
@Prop(Map)
readonly auth!: Auth
@Prop(Object)
readonly options!: O
}