diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:03:03 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:10:06 +0100 |
| commit | 8c1fff45fb5340a338416586162ac247b2b190c0 (patch) | |
| tree | 849ae072e8efc8652d3045ae4ab3db30798f1a9b /src/types | |
| parent | 1118c377e32940ada179bfcde1549b73d8948626 (diff) | |
Uses TSConfig paths
Diffstat (limited to 'src/types')
| -rw-r--r-- | src/types/Scotsoun.d.ts | 14 | ||||
| -rw-r--r-- | src/types/TranslationsDictionary.d.ts | 2 |
2 files changed, 8 insertions, 8 deletions
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> = (params: { [key in keyof Params]: string }) => string; |
