Replace TS relative @ import path (#1087)

Migrated the import shortcut used in Svelte from @ to @graphite for better future package compatibility

Co-authored-by: Andre Roelofs <andreroelofsai@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Andre Roelofs
2023-03-25 17:39:38 -07:00
committed by GitHub
co-authored by Andre Roelofs Keavon Chambers
parent f910b45a5b
commit 5759600f95
83 changed files with 465 additions and 465 deletions
@@ -1,4 +1,4 @@
import { BEZIER_T_VALUE_VARIANTS, SUBPATH_T_VALUE_VARIANTS } from "@/utils/types";
import { BEZIER_T_VALUE_VARIANTS, SUBPATH_T_VALUE_VARIANTS } from "@graphite/utils/types";
export const tSliderOptions = {
min: 0,
@@ -1,4 +1,4 @@
import { Demo, DemoPane, InputOption } from "@/utils/types";
import { Demo, DemoPane, InputOption } from "@graphite/utils/types";
export function renderDemo(demo: Demo): void {
const header = document.createElement("h4");
@@ -1,4 +1,4 @@
export type WasmRawInstance = typeof import("@/../wasm/pkg");
export type WasmRawInstance = typeof import("@graphite/../wasm/pkg");
export type WasmBezierInstance = InstanceType<WasmRawInstance["WasmBezier"]>;
export type WasmBezierKey = keyof WasmBezierInstance;