-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(types): auto-generated types using vue-tsc 🎉
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
- Loading branch information
1 parent
8af63c8
commit 93fbaf4
Showing
3 changed files
with
68 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import type { PropType } from 'vue'; | ||
declare const _default: import('vue').DefineComponent< | ||
{ | ||
onlineClass: { | ||
type: PropType<string>; | ||
required: false; | ||
default: string; | ||
}; | ||
offlineClass: { | ||
type: PropType<string>; | ||
required: false; | ||
default: string; | ||
}; | ||
pingUrl: { | ||
type: PropType<string>; | ||
required: false; | ||
default: string; | ||
}; | ||
}, | ||
() => import('vue').VNode< | ||
import('vue').RendererNode, | ||
import('vue').RendererElement, | ||
{ | ||
[key: string]: any; | ||
} | ||
>, | ||
unknown, | ||
{}, | ||
{}, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').ComponentOptionsMixin, | ||
import('vue').EmitsOptions, | ||
'detected-condition', | ||
import('vue').VNodeProps & | ||
import('vue').AllowedComponentProps & | ||
import('vue').ComponentCustomProps, | ||
Readonly< | ||
import('vue').ExtractPropTypes<{ | ||
onlineClass: { | ||
type: PropType<string>; | ||
required: false; | ||
default: string; | ||
}; | ||
offlineClass: { | ||
type: PropType<string>; | ||
required: false; | ||
default: string; | ||
}; | ||
pingUrl: { | ||
type: PropType<string>; | ||
required: false; | ||
default: string; | ||
}; | ||
}> | ||
>, | ||
{ | ||
onlineClass: string; | ||
offlineClass: string; | ||
pingUrl: string; | ||
} | ||
>; | ||
export default _default; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
import type { | ||
AllowedComponentProps, | ||
ComponentCustomProps, | ||
DefineComponent, | ||
VNodeProps, | ||
} from 'vue'; | ||
|
||
export interface VOfflineProps { | ||
onlineClass?: string; | ||
offlineClass?: string; | ||
pingUrl?: string; | ||
} | ||
|
||
type VOfflineComponentProps = AllowedComponentProps & | ||
ComponentCustomProps & | ||
VNodeProps & | ||
VOfflineProps; | ||
|
||
export const VOffline: DefineComponent<VOfflineComponentProps>; | ||
import VOffline from './components/VOffline.vue'; | ||
export { default } from './install'; | ||
export { VOffline }; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { App as Application } from 'vue'; | ||
declare const install: (app: Application) => void; | ||
export default install; |