Update sdk/js/player/query
parent
75c576e976
commit
532f2e876c
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
```ts
|
```ts
|
||||||
import { CachedPlayer } from "restfulmc-lib";
|
|
||||||
import { getPlayer } from "restfulmc-lib";
|
import { getPlayer } from "restfulmc-lib";
|
||||||
|
import type { CachedPlayer } from "restfulmc-lib/dist/index";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const player: CachedPlayer = await getPlayer("Rainnny");
|
const player: CachedPlayer = await getPlayer("Rainnny");
|
||||||
|
Loading…
Reference in New Issue
Block a user