Skip to content

Commit

Permalink
Use explicit file ext in relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodevx committed Jul 2, 2023
1 parent 5360142 commit 4b8347e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/lib/SvelteToast.svelte
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<script>
import { fade, fly } from 'svelte/transition'
import { flip } from 'svelte/animate'
import { toast } from './stores'
import { toast } from './stores.js'
import ToastItem from './ToastItem.svelte'
/** @type {import('./stores').SvelteToastOptions} */
/** @type {import('./stores.js').SvelteToastOptions} */
export let options = {}
/** @type {(string|'default')} */
export let target = 'default'
/** @type {import('./stores').SvelteToastOptions[]} */
/** @type {import('./stores.js').SvelteToastOptions[]} */
let items = []
/** @param {Object<string,string|number>} [theme] */
Expand Down
4 changes: 2 additions & 2 deletions src/lib/ToastItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import { onMount, onDestroy } from 'svelte'
import { tweened } from 'svelte/motion'
import { linear } from 'svelte/easing'
import { toast } from './stores'
import { toast } from './stores.js'
/** @type {import('./stores').SvelteToastOptions} */
/** @type {import('./stores.js').SvelteToastOptions} */
export let item
/** @type {any} */
Expand Down

0 comments on commit 4b8347e

Please sign in to comment.