Skip to content

Commit

Permalink
fix(component): nits from review
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Jun 5, 2020
1 parent 3fd9c3f commit 1ad4cd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/component/src/core/utils/get-global-this.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* - Tests
* - Browser
*
* @return {globalThis} - A reference to globalThis. `window` in the Browser.
* @return A reference to globalThis. `window` in the Browser.
*/
export function getGlobalThis(): any {
return ((globalThis as any) || (self as any) || (window as any)) as any;
Expand Down
4 changes: 2 additions & 2 deletions modules/component/src/core/utils/zone-checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* Consider the situation of a Angular element configured for ZoneLess
* environments is used in an Angular application relining on the zone mechanism.
*
* @param instance {Class Instance} - The instance to check for constructor name of `NgZone`.
* @return {boolean} - true if instance is of type `NgZone`.
* @param instance - The instance to check for constructor name of `NgZone`.
* @return true if instance is of type `NgZone`.
*
*/
export function isNgZone(instance: any): boolean {
Expand Down

0 comments on commit 1ad4cd6

Please sign in to comment.