build: enable TSLint on the packages folder (#18459)

porting PRs #18392 and #18441 to 4.x
This commit is contained in:
Victor Berchet
2017-08-02 15:23:33 -07:00
committed by GitHub
parent 24db1ed938
commit baf4ce0dd0
48 changed files with 133 additions and 112 deletions

View File

@ -110,12 +110,14 @@ const summaryResolver = new AotSummaryResolver(
staticSymbolCache);
export class DiagnosticContext {
// tslint:disable
_analyzedModules: NgAnalyzedModules;
_staticSymbolResolver: StaticSymbolResolver|undefined;
_reflector: StaticReflector|undefined;
_errors: {e: any, path?: string}[] = [];
_resolver: CompileMetadataResolver|undefined;
_refletor: StaticReflector;
// tslint:enable
constructor(
public service: ts.LanguageService, public program: ts.Program,