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

fix: provide browser globals with injection tokens #358

Merged
merged 2 commits into from
Apr 10, 2018
Merged

fix: provide browser globals with injection tokens #358

merged 2 commits into from
Apr 10, 2018

Conversation

yggg
Copy link
Contributor

@yggg yggg commented Apr 9, 2018

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

constructor(
private positioningHelper: NbPositioningHelper,
@Inject(NB_WINDOW) window) {
this.window = window as Window;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to this changelog as operator was introduced to support .tsx. Maybe we have to use basic type cast instead: this.window = <Window> window.
@nnixaa, do you think?

@nnixaa nnixaa merged commit 63f4bb8 into akveo:master Apr 10, 2018
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.

None yet

3 participants