Schum123 / svelte-loading-spinners

A collection of loading spinner components for SvelteJs
https://schum123.github.io/svelte-loading-spinners/
MIT License
511 stars 35 forks source link

import declaration file from subdirectory #20

Closed mxfactorial closed 3 years ago

mxfactorial commented 3 years ago

steps

  1. npm install svelte-loading-spinners
  2. open in editor

observed

Cannot find module '../src/types/spinner.type' or its corresponding type declarations.

fix

switch spinner.type import from src parent directory to types subdirectory