Skip to content

Commit

Permalink
Change interface to type
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaanshah committed Apr 12, 2020
1 parent ff4d969 commit ce7d0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions listenbrainz/webserver/static/js/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ declare type SubmitListensPayload = any;

declare type AlertType = "danger" | "warning" | "success";

declare interface User {
declare type User = {
id?: string;
name: string;
auth_token?: string;
}
};

declare interface ImporterProps {
user: User;
Expand Down

0 comments on commit ce7d0fc

Please sign in to comment.