Skip to content

Commit

Permalink
fix: type-hint repoUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
aekasitt committed Aug 14, 2024
1 parent 2b6a519 commit 172b0dd
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 78 deletions.
142 changes: 65 additions & 77 deletions auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,117 +5,117 @@
// Generated by unplugin-auto-import
export {}
declare global {
const EffectScope: (typeof import('vue'))['EffectScope']
const acceptHMRUpdate: (typeof import('pinia'))['acceptHMRUpdate']
const EffectScope: typeof import('vue')['EffectScope']
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
const asyncComputed: (typeof import('@vueuse/core'))['asyncComputed']
const autoResetRef: (typeof import('@vueuse/core'))['autoResetRef']
const computed: (typeof import('vue'))['computed']
const computed: typeof import('vue')['computed']
const computedAsync: (typeof import('@vueuse/core'))['computedAsync']
const computedEager: (typeof import('@vueuse/core'))['computedEager']
const computedInject: (typeof import('@vueuse/core'))['computedInject']
const computedWithControl: (typeof import('@vueuse/core'))['computedWithControl']
const controlledComputed: (typeof import('@vueuse/core'))['controlledComputed']
const controlledRef: (typeof import('@vueuse/core'))['controlledRef']
const createApp: (typeof import('vue'))['createApp']
const createApp: typeof import('vue')['createApp']
const createEventHook: (typeof import('@vueuse/core'))['createEventHook']
const createGlobalState: (typeof import('@vueuse/core'))['createGlobalState']
const createInjectionState: (typeof import('@vueuse/core'))['createInjectionState']
const createPinia: (typeof import('pinia'))['createPinia']
const createPinia: typeof import('pinia')['createPinia']
const createReactiveFn: (typeof import('@vueuse/core'))['createReactiveFn']
const createReusableTemplate: (typeof import('@vueuse/core'))['createReusableTemplate']
const createSharedComposable: (typeof import('@vueuse/core'))['createSharedComposable']
const createTemplatePromise: (typeof import('@vueuse/core'))['createTemplatePromise']
const createUnrefFn: (typeof import('@vueuse/core'))['createUnrefFn']
const customRef: (typeof import('vue'))['customRef']
const customRef: typeof import('vue')['customRef']
const debouncedRef: (typeof import('@vueuse/core'))['debouncedRef']
const debouncedWatch: (typeof import('@vueuse/core'))['debouncedWatch']
const defineAsyncComponent: (typeof import('vue'))['defineAsyncComponent']
const defineComponent: (typeof import('vue'))['defineComponent']
const defineStore: (typeof import('pinia'))['defineStore']
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
const defineComponent: typeof import('vue')['defineComponent']
const defineStore: typeof import('pinia')['defineStore']
const eagerComputed: (typeof import('@vueuse/core'))['eagerComputed']
const effectScope: (typeof import('vue'))['effectScope']
const effectScope: typeof import('vue')['effectScope']
const extendRef: (typeof import('@vueuse/core'))['extendRef']
const getActivePinia: (typeof import('pinia'))['getActivePinia']
const getCurrentInstance: (typeof import('vue'))['getCurrentInstance']
const getCurrentScope: (typeof import('vue'))['getCurrentScope']
const h: (typeof import('vue'))['h']
const getActivePinia: typeof import('pinia')['getActivePinia']
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
const getCurrentScope: typeof import('vue')['getCurrentScope']
const h: typeof import('vue')['h']
const ignorableWatch: (typeof import('@vueuse/core'))['ignorableWatch']
const inject: (typeof import('vue'))['inject']
const inject: typeof import('vue')['inject']
const injectLocal: (typeof import('@vueuse/core'))['injectLocal']
const isDefined: (typeof import('@vueuse/core'))['isDefined']
const isProxy: (typeof import('vue'))['isProxy']
const isReactive: (typeof import('vue'))['isReactive']
const isReadonly: (typeof import('vue'))['isReadonly']
const isRef: (typeof import('vue'))['isRef']
const isProxy: typeof import('vue')['isProxy']
const isReactive: typeof import('vue')['isReactive']
const isReadonly: typeof import('vue')['isReadonly']
const isRef: typeof import('vue')['isRef']
const makeDestructurable: (typeof import('@vueuse/core'))['makeDestructurable']
const mapActions: (typeof import('pinia'))['mapActions']
const mapGetters: (typeof import('pinia'))['mapGetters']
const mapState: (typeof import('pinia'))['mapState']
const mapStores: (typeof import('pinia'))['mapStores']
const mapWritableState: (typeof import('pinia'))['mapWritableState']
const markRaw: (typeof import('vue'))['markRaw']
const nextTick: (typeof import('vue'))['nextTick']
const onActivated: (typeof import('vue'))['onActivated']
const onBeforeMount: (typeof import('vue'))['onBeforeMount']
const mapActions: typeof import('pinia')['mapActions']
const mapGetters: typeof import('pinia')['mapGetters']
const mapState: typeof import('pinia')['mapState']
const mapStores: typeof import('pinia')['mapStores']
const mapWritableState: typeof import('pinia')['mapWritableState']
const markRaw: typeof import('vue')['markRaw']
const nextTick: typeof import('vue')['nextTick']
const onActivated: typeof import('vue')['onActivated']
const onBeforeMount: typeof import('vue')['onBeforeMount']
const onBeforeRouteLeave: (typeof import('vue-router'))['onBeforeRouteLeave']
const onBeforeRouteUpdate: (typeof import('vue-router'))['onBeforeRouteUpdate']
const onBeforeUnmount: (typeof import('vue'))['onBeforeUnmount']
const onBeforeUpdate: (typeof import('vue'))['onBeforeUpdate']
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
const onClickOutside: (typeof import('@vueuse/core'))['onClickOutside']
const onDeactivated: (typeof import('vue'))['onDeactivated']
const onErrorCaptured: (typeof import('vue'))['onErrorCaptured']
const onDeactivated: typeof import('vue')['onDeactivated']
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
const onKeyStroke: (typeof import('@vueuse/core'))['onKeyStroke']
const onLongPress: (typeof import('@vueuse/core'))['onLongPress']
const onMounted: (typeof import('vue'))['onMounted']
const onRenderTracked: (typeof import('vue'))['onRenderTracked']
const onRenderTriggered: (typeof import('vue'))['onRenderTriggered']
const onScopeDispose: (typeof import('vue'))['onScopeDispose']
const onServerPrefetch: (typeof import('vue'))['onServerPrefetch']
const onMounted: typeof import('vue')['onMounted']
const onRenderTracked: typeof import('vue')['onRenderTracked']
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
const onScopeDispose: typeof import('vue')['onScopeDispose']
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
const onStartTyping: (typeof import('@vueuse/core'))['onStartTyping']
const onUnmounted: (typeof import('vue'))['onUnmounted']
const onUpdated: (typeof import('vue'))['onUpdated']
const onUnmounted: typeof import('vue')['onUnmounted']
const onUpdated: typeof import('vue')['onUpdated']
const pausableWatch: (typeof import('@vueuse/core'))['pausableWatch']
const provide: (typeof import('vue'))['provide']
const provide: typeof import('vue')['provide']
const provideLocal: (typeof import('@vueuse/core'))['provideLocal']
const reactify: (typeof import('@vueuse/core'))['reactify']
const reactifyObject: (typeof import('@vueuse/core'))['reactifyObject']
const reactive: (typeof import('vue'))['reactive']
const reactive: typeof import('vue')['reactive']
const reactiveComputed: (typeof import('@vueuse/core'))['reactiveComputed']
const reactiveOmit: (typeof import('@vueuse/core'))['reactiveOmit']
const reactivePick: (typeof import('@vueuse/core'))['reactivePick']
const readonly: (typeof import('vue'))['readonly']
const ref: (typeof import('vue'))['ref']
const readonly: typeof import('vue')['readonly']
const ref: typeof import('vue')['ref']
const refAutoReset: (typeof import('@vueuse/core'))['refAutoReset']
const refDebounced: (typeof import('@vueuse/core'))['refDebounced']
const refDefault: (typeof import('@vueuse/core'))['refDefault']
const refThrottled: (typeof import('@vueuse/core'))['refThrottled']
const refWithControl: (typeof import('@vueuse/core'))['refWithControl']
const resolveComponent: (typeof import('vue'))['resolveComponent']
const resolveComponent: typeof import('vue')['resolveComponent']
const resolveRef: (typeof import('@vueuse/core'))['resolveRef']
const resolveUnref: (typeof import('@vueuse/core'))['resolveUnref']
const setActivePinia: (typeof import('pinia'))['setActivePinia']
const setMapStoreSuffix: (typeof import('pinia'))['setMapStoreSuffix']
const shallowReactive: (typeof import('vue'))['shallowReactive']
const shallowReadonly: (typeof import('vue'))['shallowReadonly']
const shallowRef: (typeof import('vue'))['shallowRef']
const storeToRefs: (typeof import('pinia'))['storeToRefs']
const setActivePinia: typeof import('pinia')['setActivePinia']
const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix']
const shallowReactive: typeof import('vue')['shallowReactive']
const shallowReadonly: typeof import('vue')['shallowReadonly']
const shallowRef: typeof import('vue')['shallowRef']
const storeToRefs: typeof import('pinia')['storeToRefs']
const syncRef: (typeof import('@vueuse/core'))['syncRef']
const syncRefs: (typeof import('@vueuse/core'))['syncRefs']
const templateRef: (typeof import('@vueuse/core'))['templateRef']
const throttledRef: (typeof import('@vueuse/core'))['throttledRef']
const throttledWatch: (typeof import('@vueuse/core'))['throttledWatch']
const toRaw: (typeof import('vue'))['toRaw']
const toRaw: typeof import('vue')['toRaw']
const toReactive: (typeof import('@vueuse/core'))['toReactive']
const toRef: (typeof import('vue'))['toRef']
const toRefs: (typeof import('vue'))['toRefs']
const toValue: (typeof import('vue'))['toValue']
const triggerRef: (typeof import('vue'))['triggerRef']
const toRef: typeof import('vue')['toRef']
const toRefs: typeof import('vue')['toRefs']
const toValue: typeof import('vue')['toValue']
const triggerRef: typeof import('vue')['triggerRef']
const tryOnBeforeMount: (typeof import('@vueuse/core'))['tryOnBeforeMount']
const tryOnBeforeUnmount: (typeof import('@vueuse/core'))['tryOnBeforeUnmount']
const tryOnMounted: (typeof import('@vueuse/core'))['tryOnMounted']
const tryOnScopeDispose: (typeof import('@vueuse/core'))['tryOnScopeDispose']
const tryOnUnmounted: (typeof import('@vueuse/core'))['tryOnUnmounted']
const unref: (typeof import('vue'))['unref']
const unref: typeof import('vue')['unref']
const unrefElement: (typeof import('@vueuse/core'))['unrefElement']
const until: (typeof import('@vueuse/core'))['until']
const useActiveElement: (typeof import('@vueuse/core'))['useActiveElement']
Expand All @@ -134,7 +134,7 @@ declare global {
const useArrayUnique: (typeof import('@vueuse/core'))['useArrayUnique']
const useAsyncQueue: (typeof import('@vueuse/core'))['useAsyncQueue']
const useAsyncState: (typeof import('@vueuse/core'))['useAsyncState']
const useAttrs: (typeof import('vue'))['useAttrs']
const useAttrs: typeof import('vue')['useAttrs']
const useBase64: (typeof import('@vueuse/core'))['useBase64']
const useBattery: (typeof import('@vueuse/core'))['useBattery']
const useBluetooth: (typeof import('@vueuse/core'))['useBluetooth']
Expand All @@ -148,9 +148,9 @@ declare global {
const useColorMode: (typeof import('@vueuse/core'))['useColorMode']
const useConfirmDialog: (typeof import('@vueuse/core'))['useConfirmDialog']
const useCounter: (typeof import('@vueuse/core'))['useCounter']
const useCssModule: (typeof import('vue'))['useCssModule']
const useCssModule: typeof import('vue')['useCssModule']
const useCssVar: (typeof import('@vueuse/core'))['useCssVar']
const useCssVars: (typeof import('vue'))['useCssVars']
const useCssVars: typeof import('vue')['useCssVars']
const useCurrentElement: (typeof import('@vueuse/core'))['useCurrentElement']
const useCycleList: (typeof import('@vueuse/core'))['useCycleList']
const useDark: (typeof import('@vueuse/core'))['useDark']
Expand Down Expand Up @@ -238,7 +238,7 @@ declare global {
const useScrollLock: (typeof import('@vueuse/core'))['useScrollLock']
const useSessionStorage: (typeof import('@vueuse/core'))['useSessionStorage']
const useShare: (typeof import('@vueuse/core'))['useShare']
const useSlots: (typeof import('vue'))['useSlots']
const useSlots: typeof import('vue')['useSlots']
const useSorted: (typeof import('@vueuse/core'))['useSorted']
const useSpeechRecognition: (typeof import('@vueuse/core'))['useSpeechRecognition']
const useSpeechSynthesis: (typeof import('@vueuse/core'))['useSpeechSynthesis']
Expand Down Expand Up @@ -279,18 +279,18 @@ declare global {
const useWindowFocus: (typeof import('@vueuse/core'))['useWindowFocus']
const useWindowScroll: (typeof import('@vueuse/core'))['useWindowScroll']
const useWindowSize: (typeof import('@vueuse/core'))['useWindowSize']
const watch: (typeof import('vue'))['watch']
const watch: typeof import('vue')['watch']
const watchArray: (typeof import('@vueuse/core'))['watchArray']
const watchAtMost: (typeof import('@vueuse/core'))['watchAtMost']
const watchDebounced: (typeof import('@vueuse/core'))['watchDebounced']
const watchDeep: (typeof import('@vueuse/core'))['watchDeep']
const watchEffect: (typeof import('vue'))['watchEffect']
const watchEffect: typeof import('vue')['watchEffect']
const watchIgnorable: (typeof import('@vueuse/core'))['watchIgnorable']
const watchImmediate: (typeof import('@vueuse/core'))['watchImmediate']
const watchOnce: (typeof import('@vueuse/core'))['watchOnce']
const watchPausable: (typeof import('@vueuse/core'))['watchPausable']
const watchPostEffect: (typeof import('vue'))['watchPostEffect']
const watchSyncEffect: (typeof import('vue'))['watchSyncEffect']
const watchPostEffect: typeof import('vue')['watchPostEffect']
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
const watchThrottled: (typeof import('@vueuse/core'))['watchThrottled']
const watchTriggerable: (typeof import('@vueuse/core'))['watchTriggerable']
const watchWithFilter: (typeof import('@vueuse/core'))['watchWithFilter']
Expand All @@ -299,18 +299,6 @@ declare global {
// for type re-export
declare global {
// @ts-ignore
export type {
Component,
ComponentPublicInstance,
ComputedRef,
ExtractDefaultPropTypes,
ExtractPropTypes,
ExtractPublicPropTypes,
InjectionKey,
PropType,
Ref,
VNode,
WritableComputedRef,
} from 'vue'
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
import('vue')
}
2 changes: 1 addition & 1 deletion src/components/ProofOfWork.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const repositories: Repository[] = [
]
/* fuctions */
let windowOpen = repoUrl => {
let windowOpen = (repoUrl: string) => {
window.open(repoUrl, '_blank', 'noreferrer noopener')
}
</script>
Expand Down

0 comments on commit 172b0dd

Please sign in to comment.