Skip to content

Commit 4b8347e

Browse files
committed
Use explicit file ext in relative imports
1 parent 5360142 commit 4b8347e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/lib/SvelteToast.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<script>
22
import { fade, fly } from 'svelte/transition'
33
import { flip } from 'svelte/animate'
4-
import { toast } from './stores'
4+
import { toast } from './stores.js'
55
import ToastItem from './ToastItem.svelte'
66
7-
/** @type {import('./stores').SvelteToastOptions} */
7+
/** @type {import('./stores.js').SvelteToastOptions} */
88
export let options = {}
99
/** @type {(string|'default')} */
1010
export let target = 'default'
1111
12-
/** @type {import('./stores').SvelteToastOptions[]} */
12+
/** @type {import('./stores.js').SvelteToastOptions[]} */
1313
let items = []
1414
1515
/** @param {Object<string,string|number>} [theme] */

src/lib/ToastItem.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import { onMount, onDestroy } from 'svelte'
33
import { tweened } from 'svelte/motion'
44
import { linear } from 'svelte/easing'
5-
import { toast } from './stores'
5+
import { toast } from './stores.js'
66
7-
/** @type {import('./stores').SvelteToastOptions} */
7+
/** @type {import('./stores.js').SvelteToastOptions} */
88
export let item
99
1010
/** @type {any} */

0 commit comments

Comments
 (0)