`svelte-check` fails when consuming library
9ParsonsB opened this issue · 1 comments
9ParsonsB commented
When referencing this component in a svelte app and running svelte-check
the following is reported:
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Circle.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\DoubleBounce.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\ScaleOut.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\SpinLine.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Stretch.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\BarLoader.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { calculateRgba, range } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Jumper.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\RingLoader.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\SyncLoader.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Rainbow.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Wave.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Firework.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Pulse.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Jellyfish.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { range, durationUnitRegex } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Chasing.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { durationUnitRegex, range } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Shadow.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Square.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Moon.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Plane.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
import { calculateRgba } from "./utils";
[ProjectDir]\node_modules\svelte-loading-spinners\dist\ts\Diamonds.svelte:2:37
Error: Cannot find module '../src/types/spinner.type' or its corresponding type declarations. (ts)
<script lang="ts">
import type { SpinnerTypes } from "../src/types/spinner.type";
export let color: SpinnerTypes["color"] = "#FF3E00";
Schum123 commented
@9ParsonsB This should now be fixed.