ストリームのConnectionクラスをTS型定義用に公開してほしい #38

Closed
opened 2022-01-11 12:54:34 +00:00 by tamaina · 4 comments
tamaina commented 2022-01-11 12:54:34 +00:00 (Migrated from github.com)

Connectionクラスが公開されていないので、useChannelの結果を格納する変数の型を定義できない

Connectionクラスが公開されていないので、useChannelの結果を格納する変数の型を定義できない
syuilo commented 2022-01-11 17:30:35 +00:00 (Migrated from github.com)

ReturnTypeじゃダメかしら

ReturnTypeじゃダメかしら
tamaina commented 2022-01-12 12:40:30 +00:00 (Migrated from github.com)

ジェネリクスをうまく表現できないので挫折した

ジェネリクスをうまく表現できないので挫折した
syuilo commented 2022-01-13 16:18:30 +00:00 (Migrated from github.com)
https://stackoverflow.com/questions/50321419/typescript-returntype-of-generic-function なるほど面倒そう
tamaina commented 2022-01-13 16:34:26 +00:00 (Migrated from github.com)

🙏

🙏
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: norm/foundkey.js#38
No description provided.