diff --git a/src/interfaces/statsfm/album.ts b/src/interfaces/statsfm/album.ts index 287cc8b..c87501c 100644 --- a/src/interfaces/statsfm/album.ts +++ b/src/interfaces/statsfm/album.ts @@ -7,14 +7,14 @@ export const AlbumReleaseType = { ALBUM: 'ALBUM', COMPILATION: 'COMPILATION', EP: 'EP' -}; +} as const; export type AlbumReleaseType = (typeof AlbumReleaseType)[keyof typeof AlbumReleaseType]; export const AlbumReleaseImageSource = { SPOTIFY: 'SPOTIFY', APPLEMUSIC: 'APPLEMUSIC' -}; +} as const; export type AlbumReleaseImageSource = (typeof AlbumReleaseImageSource)[keyof typeof AlbumReleaseImageSource]; diff --git a/src/interfaces/statsfm/artist.ts b/src/interfaces/statsfm/artist.ts index aac2740..4f686b5 100644 --- a/src/interfaces/statsfm/artist.ts +++ b/src/interfaces/statsfm/artist.ts @@ -4,7 +4,7 @@ import { TopObject } from './top'; export const ArtistImageSource = { SPOTIFY: 'SPOTIFY', APPLEMUSIC: 'APPLEMUSIC' -}; +} as const; export type ArtistImageSource = (typeof ArtistImageSource)[keyof typeof ArtistImageSource];