refactor: add src alias to @/
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import {entity, Entity} from "../utils/entity";
|
||||
import {entity, Entity} from "@/utils/entity";
|
||||
import {
|
||||
Command,
|
||||
CommandRegistry,
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
createCommandRunnerContext,
|
||||
parseCommandSchema,
|
||||
registerCommand
|
||||
} from "../utils/command";
|
||||
} from "@/utils/command";
|
||||
|
||||
export interface IGameContext<TState extends Record<string, unknown> = {} > {
|
||||
state: Entity<TState>;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import {Entity} from "../utils/entity";
|
||||
import {Entity} from "@/utils/entity";
|
||||
import {Region} from "./region";
|
||||
import {RNG} from "../utils/rng";
|
||||
import {RNG} from "@/utils/rng";
|
||||
|
||||
export type Part = {
|
||||
id: string;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import {Entity} from "../utils/entity";
|
||||
import {Entity} from "@/utils/entity";
|
||||
import {Part} from "./part";
|
||||
import {RNG} from "../utils/rng";
|
||||
import {RNG} from "@/utils/rng";
|
||||
|
||||
export type Region = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user