Skip to content

Commit

Permalink
refactor: remove unnecessary type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed Jul 19, 2023
1 parent a0cbf7f commit ee588c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/structures/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ export default class DataManager {
id: string,
redirect: false
): Promise<Spotify | null | undefined>
async spotify(
id: string,
redirect: boolean
): Promise<Spotify | string | null | undefined> {
async spotify(id: string, redirect: boolean) {
this.logger.info(
`Spotify - ${id} (${redirect ? 'Redirect' : 'Not Redirect'})`
)
Expand Down

0 comments on commit ee588c6

Please sign in to comment.