From 47db47fe9fe7a33109366614de0f1b6402814c84 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 30 Jan 2025 21:31:58 +1100 Subject: imports: use typescript import paths --- src/services/math.ts | 2 +- src/services/updates.ts | 2 +- src/services/weather.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/services') diff --git a/src/services/math.ts b/src/services/math.ts index 14e90e0..925bbcb 100644 --- a/src/services/math.ts +++ b/src/services/math.ts @@ -1,6 +1,6 @@ import { GLib, GObject, property, readFile, register, writeFileAsync } from "astal"; +import { math as config } from "config"; import { derivative, evaluate, rationalize, simplify } from "mathjs/number"; -import { math as config } from "../../config"; export interface HistoryItem { equation: string; diff --git a/src/services/updates.ts b/src/services/updates.ts index 91c9e21..9c4abe1 100644 --- a/src/services/updates.ts +++ b/src/services/updates.ts @@ -1,5 +1,5 @@ import { execAsync, GLib, GObject, property, readFileAsync, register, writeFileAsync } from "astal"; -import { updates as config } from "../../config"; +import { updates as config } from "config"; export interface Update { full: string; diff --git a/src/services/weather.ts b/src/services/weather.ts index e57e7c4..8474198 100644 --- a/src/services/weather.ts +++ b/src/services/weather.ts @@ -1,6 +1,6 @@ +import { notify } from "@/utils/system"; import { execAsync, GLib, GObject, interval, property, readFileAsync, register, writeFileAsync } from "astal"; -import { weather as config } from "../../config"; -import { notify } from "../utils/system"; +import { weather as config } from "config"; export interface WeatherCondition { text: string; -- cgit v1.2.3-freya