Skip to content

Commit

Permalink
fix: export as const
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvdkolk committed Jan 26, 2024
1 parent 6b8bb60 commit 4632c43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/statsfm/album.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/statsfm/artist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 4632c43

Please sign in to comment.