@esase wrote:
Hello, recently I have updated my ionic project, but now I see a lot of warnings like this:
[17:03:08] tslint: src/shared/components/avatar/index.ts, line: 1
'ChangeDetectorRef' is declared but never used.L1: import { Component, Input, ChangeDetectionStrategy, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/co L2: import { DataStore } from 'js-data';But I use that import:
/**
* Constructor
*/
constructor(
private events: Events,
private api: DataStore,
private ref: ChangeDetectorRef)
{The questions is why ionic thinks that it not used import?
Posts: 1
Participants: 1