I tried installing the plugin on a project I am working on and got the following errors when trying to build the project:
ERROR in PROJECT-DIRETORY/node_modules/ng-in-viewport/in-viewport/in-viewport.directive.d.ts (3,49): '=' expected.
ERROR in PROJECT-DIRETORY/node_modules/ng-in-viewport/in-viewport/in-viewport.directive.d.ts (3,42): Cannot find name 'unique'.
ERROR in PROJECT-DIRETORY/node_modules/ng-in-viewport/in-viewport/in-viewport.directive.d.ts (3,49): Cannot find name 'symbol'.
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import { InViewportService } from './in-viewport.service';
export declare const InViewportMetadata: unique symbol;
export declare class InViewportDirective implements AfterViewInit, OnDestroy {
elementRef: ElementRef;
private inViewportService;
private config;
action$: EventEmitter<any>;
constructor(elementRef: ElementRef, inViewportService: InViewportService);
updateConfig: any;
ngAfterViewInit(): void;
ngOnDestroy(): void;
check(entry: IntersectionObserverEntry): void;
}