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

Commit ca780d8

Browse files
committedJun 7, 2022
fix: alias TransactionCtorFields_DEPRECATED back to the way it was for back-compat
1 parent 6b105ee commit ca780d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/transaction.ts

+5
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ export type TransactionCtorFields_DEPRECATED = {
142142
recentBlockhash?: Blockhash;
143143
};
144144

145+
// For backward compatibility; an unfortunate consequence of being
146+
// forced to over-export types by the documentation generator.
147+
// See https://github.com/solana-labs/solana/pull/25820
148+
export type TransactionCtorFields = TransactionCtorFields_DEPRECATED;
149+
145150
/**
146151
* List of Transaction object fields that may be initialized at construction
147152
*/

0 commit comments

Comments
 (0)
This repository has been archived.