Improve typing of return from decompileTransactionMessageFetchingLookupTables#1133
Conversation
|
BundleMonUnchanged files (136)
No change in files bundle size Final result: ✅ View report in BundleMon website ➡️ |
|
Documentation Preview: https://kit-docs-31eo0lq3q-anza-tech.vercel.app |
| TransactionMessageWithBlockhashLifetime, | ||
| TransactionMessageWithFeePayer, | ||
| TransactionMessageWithLifetime, | ||
| } from '..'; |
There was a problem hiding this comment.
As in the first PR in the stack, change this to import from the relevant modules.
901a7cd to
d76d1f2
Compare
7e05e9b to
091a9b7
Compare
d76d1f2 to
eb5d742
Compare
091a9b7 to
527489a
Compare
Merge activity
|
eb5d742 to
49051f2
Compare
|
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |


Problem
When we use
decompileTransactionMessageFetchingLookupTables, we get aBaseTransactionMessage, which is not a union type and therefore doesn't play nicely with Typescript type narrowing by version.Summary of Changes
decompileTransactionMessageFetchingLookupTablesPart of a stack that eventually supersedes #1103