Skip to content

Commit

Permalink
Fix Type Definitions (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTank authored Oct 1, 2022
1 parent 57ea8b3 commit e712eca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,13 @@ declare class MessageBuilder {
): MessageBuilder

// 1.19+
static fromNetwork (messageType: number, parameters: Record<String, Object>): MessageBuilder
static fromNetwork (messageType: number, parameters: Record<string, Object>): MessageBuilder
}

loader.ChatMessage = typeof ChatMessage
export = loader
export default loader
export {
ChatMessage
}

type Language = { [key: string]: string }

Expand Down

0 comments on commit e712eca

Please sign in to comment.