mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-06 01:25:38 +00:00
10 lines
360 B
TypeScript
10 lines
360 B
TypeScript
declare module '*.svg?icon' {
|
|
import type { Component, VNode } from 'vue-demi'
|
|
|
|
// Icon render functions accept optional (h, isVue2) for cross-version rendering.
|
|
// The intersection with Component allows usage in component registrations.
|
|
type IconFn = ((h?: unknown, isVue2?: boolean) => VNode) & Component
|
|
const icon: IconFn
|
|
export default icon
|
|
}
|