~james/core

core/web/src/icon.d.ts -rw-r--r-- 453 bytes
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
// `$icon/<name>` is a vite alias for unplugin-icons' `~icons/lucide/<name>`
// virtual module (see vite.config.ts). mirror its ambient type here so tsc /
// svelte-check resolve the aliased imports. must stay a global .d.ts (no export)
declare module "$icon/*" {
	import type { Component } from "svelte";
	import type { SvelteHTMLElements } from "svelte/elements";

	const component: Component<SvelteHTMLElements["svg"]>;

	export default component;
}