Skip to content

fix(compilation): compile under typescript 2.4 (#2780)#35

Merged
GulajavaMinistudio merged 1 commit intoGulajavaMinistudio:masterfrom
ReactiveX:master
Aug 4, 2017
Merged

fix(compilation): compile under typescript 2.4 (#2780)#35
GulajavaMinistudio merged 1 commit intoGulajavaMinistudio:masterfrom
ReactiveX:master

Conversation

@GulajavaMinistudio
Copy link
Owner

TypeScript 2.4 is more strict about assignability with generics,
and in some cases (when calling a generic function) it will infer
that the generic parameter is <{}> rather than the that rxjs
typically wants.

Fix this by explicitly passing in the cases where compilation
fails.

Description:

Related issue (if exists):

TypeScript 2.4 is more strict about assignability with generics,
and in some cases (when calling a generic function) it will infer
that the generic parameter is <{}> rather than the <T> that rxjs
typically wants.

Fix this by explicitly passing <T> in the cases where compilation
fails.
@GulajavaMinistudio GulajavaMinistudio merged commit b94b911 into GulajavaMinistudio:master Aug 4, 2017
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.

2 participants