Skip to content

Commit

Permalink
feat(api): add toString() method for OfflinePlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Feb 20, 2025
1 parent d2f212d commit 4d6ba9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/api/OfflinePlayer.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/// <reference path="../index.d.ts"/>

declare interface OfflinePlayer {
toString(): string | "OfflinePlayer";

/**
* Returns the name of this player
* 返回玩家的名字
Expand Down

0 comments on commit 4d6ba9e

Please sign in to comment.