Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit bb8792a

Browse files
authored
token: fix ts for @solana/spl-token (#2145)
* token: fix ts for @solana/spl-token * fix ts * fix flow * fix optional parameters
1 parent 488af86 commit bb8792a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

token/js/module.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ declare module '@solana/spl-token' {
8989
programId: PublicKey,
9090
mint: PublicKey,
9191
owner: PublicKey,
92+
allowOwnerOffCurve?: boolean,
9293
): Promise<PublicKey>;
9394
static createMint(
9495
connection: Connection,

token/js/module.flow.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ declare module '@solana/spl-token' {
8686
programId: PublicKey,
8787
mint: PublicKey,
8888
owner: PublicKey,
89+
allowOwnerOffCurve?: boolean,
8990
): Promise<PublicKey>;
9091
static createMint(
9192
connection: Connection,

0 commit comments

Comments
 (0)