Skip to content

Make strict mode Stream<T> covariant on T#317

Open
wclr wants to merge 2 commits intostaltz:masterfrom
wclr:strict-mode-stream-covariant
Open

Make strict mode Stream<T> covariant on T#317
wclr wants to merge 2 commits intostaltz:masterfrom
wclr:strict-mode-stream-covariant

Conversation

@wclr
Copy link
Contributor

@wclr wclr commented Oct 22, 2020

This PR:

  • enforces TS strict mode on the whole repo
  • makes Stream<T> covariant on T by modifying inner _ils, _dl types.
const s$: Stream<number | string> = xs.create<number>()

@wclr
Copy link
Contributor Author

wclr commented Nov 11, 2020

@staltz hello, what do you say?

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

Successfully merging this pull request may close these issues.

1 participant