Skip to content

Commit

Permalink
Correct types (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienHH authored May 21, 2022
1 parent 7aae049 commit c184a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ declare module 'prismarine-realms' {
getRealmAddress(realmId: string): Promise<Address>
getRealmFromInvite(realmInviteCode: string, invite: boolean): Promise<Realm>
invitePlayer(realmId: string, uuid: string): Promise<Realm>
changeRealmState(realmId: string, state: 'open' | 'close'): Pomise<void>
changeRealmState(realmId: string, state: 'open' | 'close'): Promise<void>
getRealmInvite(realmId: string): Promise<RealmInvite>
refreshRealmInvite(realmId: string): Promise<RealmInvite>
getPendingInviteCount(): Promise<number>
Expand All @@ -33,7 +33,7 @@ declare module 'prismarine-realms' {
export class JavaRealmAPI extends RealmAPI {
getRealmAddress(realmId: string): Promise<Address>
invitePlayer(realmId: string, uuid: string, name: string): Promise<Realm>
changeRealmState(realmId: string, state: 'open' | 'close'): Pomise<void>
changeRealmState(realmId: string, state: 'open' | 'close'): Promise<void>
}

export interface Realm {
Expand Down

0 comments on commit c184a04

Please sign in to comment.