From 8c1fff45fb5340a338416586162ac247b2b190c0 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 13 Aug 2023 19:03:03 +0100 Subject: Uses TSConfig paths --- src/types/Scotsoun.d.ts | 14 +++++++------- src/types/TranslationsDictionary.d.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/types') diff --git a/src/types/Scotsoun.d.ts b/src/types/Scotsoun.d.ts index 7ef2f50..64b0ab1 100644 --- a/src/types/Scotsoun.d.ts +++ b/src/types/Scotsoun.d.ts @@ -1,4 +1,4 @@ -import type { defaultLocale } from '../i18n/locales'; +import type { defaultLocale } from '$i18n/locales'; import type Date from './Date'; import type Locale from './Locale'; import type Price from './Price'; @@ -6,15 +6,15 @@ import type Price from './Price'; type Scotsoun = { title: string; subtitle?: string; - 'long-name': string; + longName: string; author?: string; - 'cd-count': number; + cdCount: number; price: Price; - 'scotsoun-id': string; + scotsounId: string; description?: { [key in Locale]?: string } & { [key in typeof defaultLocale]: string }; - 'cover-artist'?: string; - 'track-list'?: string[]; - 'release-date'?: Date; + coverArtist?: string; + trackList?: string[]; + releaseDate?: Date; }; export default Scotsoun; diff --git a/src/types/TranslationsDictionary.d.ts b/src/types/TranslationsDictionary.d.ts index d62947c..d9d7e44 100644 --- a/src/types/TranslationsDictionary.d.ts +++ b/src/types/TranslationsDictionary.d.ts @@ -1,4 +1,4 @@ -import type { defaultLocale } from '../i18n/locales'; +import type { defaultLocale } from '$i18n/locales'; import type Locale from './Locale'; export type Translation = (params: { [key in keyof Params]: string }) => string; -- cgit v1.2.3