Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Fixes in rebuild-ts grunt task. #961

Merged
merged 1 commit into from
Oct 12, 2015
Merged

Fixes in rebuild-ts grunt task. #961

merged 1 commit into from
Oct 12, 2015

Conversation

baltie
Copy link
Contributor

@baltie baltie commented Oct 11, 2015

rebuild-ts task would wrongly exclude typings included in the rx.lite.d.ts
file. For instance would rx.time.d.ts only receive the typings not
included in rx.lite.d.ts.

As it was, I could only use either rx.lite.d.ts or rx.all.d.ts. However,
I use a subset with rx.d.ts, rx.binding.ts and rx.time.d.ts. This fix
makes it possible to do that. Instead of excluding typings included in
lite, the rebuild-ts task now correctly excludes typings included in main
(rx.d.ts). The original behaviour is kept if lite typings are built. I
believe this is the correct behaviour, and it works nicely in my setup. I
can now use a subset of the typings and the original lite typings are the
same as before.

I've also fixed the declare module output of rx.d.ts. It would previously
add the declare module "rx" line twice, resulting in a compiler error when
included in a project.

rebuild-ts task would wrongly exclude typings included in the rx.lite.d.ts
file. For instance would rx.time.d.ts only receive the typings not
included in rx.lite.d.ts.

As it was, I could only use either rx.lite.d.ts or rx.all.d.ts. However,
I use a subset with rx.d.ts, rx.binding.ts and rx.time.d.ts. This fix
makes it possible to do that. Instead of excluding typings included in
lite, the rebuild-ts task now correctly excludes typings included in main
(rx.d.ts). The original behaviour is kept if lite typings are built. I
believe this is the correct behaviour, and it works nicely in my setup. I
can now use a subset of the typings.

I've also fixed the declare module output of rx.d.ts. It would previously
add the declare module "rx" line twice, resulting in a compiler error when
included in a project.
@ghost ghost added the cla-already-signed label Oct 11, 2015
mattpodwysocki added a commit that referenced this pull request Oct 12, 2015
Fixes in rebuild-ts grunt task.
@mattpodwysocki mattpodwysocki merged commit a55be49 into Reactive-Extensions:master Oct 12, 2015
@baltie baltie deleted the typescript-output branch October 12, 2015 04:25
@baltie baltie mentioned this pull request Oct 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants