mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-08 18:18:11 +08:00
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:
co-authored by
Andre Roelofs
Keavon Chambers
parent
f910b45a5b
commit
5759600f95
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user