Add type declarations to `svelte-icons` module

This commit is contained in:
M3DZIK 2024-03-18 16:52:14 +01:00
parent 0960c96c20
commit 85c764e28f
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" class="light">
<head>
<meta charset="utf-8" />

9
src/svelte-icons.d.ts vendored Normal file
View File

@ -0,0 +1,9 @@
declare module 'svelte-icons/fa/*.svelte' {
const e: any;
export default e;
}
declare module 'svelte-icons/md/*.svelte' {
const e: any;
export default e;
}