Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts build breaks after v2.6.0 #46

Open
ordinariusprof opened this issue Oct 8, 2024 · 0 comments
Open

ts build breaks after v2.6.0 #46

ordinariusprof opened this issue Oct 8, 2024 · 0 comments

Comments

@ordinariusprof
Copy link

in this commit, ts support seems be broken because of this line:

./node_modules/sats-connect/node_modules/@sats-connect/core/dist/index.d.mts:113:21
Type error: Type parameter declaration expected.

  111 | }, undefined>], undefined>;
  112 | type WalletEvent = v.InferOutput<typeof walletEventSchema>;
> 113 | type AddListener = <const WalletEventName extends WalletEvent['type']>(eventName: WalletEventName, cb: (event: Extract<WalletEvent, {
      |                     ^
  114 |     type: WalletEventName;
  115 | }>) => void) => () => void;
  116 | interface BaseBitcoinProvider {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant