refactor(TypeScript): Add noImplicitAny
We automatically insert explicit 'any's where needed. These need to be addressed as in #9100. Fixes #4924
This commit is contained in:
@ -118,7 +118,7 @@ export abstract class AppView<T> {
|
||||
create(context: T, givenProjectableNodes: Array<any | any[]>,
|
||||
rootSelectorOrNode: string | any): AppElement {
|
||||
this.context = context;
|
||||
var projectableNodes;
|
||||
var projectableNodes: any /** TODO #9100 */;
|
||||
switch (this.type) {
|
||||
case ViewType.COMPONENT:
|
||||
projectableNodes = ensureSlotCount(givenProjectableNodes, this.componentType.slotCount);
|
||||
@ -159,7 +159,7 @@ export abstract class AppView<T> {
|
||||
|
||||
selectOrCreateHostElement(elementName: string, rootSelectorOrNode: string | any,
|
||||
debugInfo: RenderDebugInfo): any {
|
||||
var hostElement;
|
||||
var hostElement: any /** TODO #9100 */;
|
||||
if (isPresent(rootSelectorOrNode)) {
|
||||
hostElement = this.renderer.selectRootElement(rootSelectorOrNode, debugInfo);
|
||||
} else {
|
||||
@ -427,7 +427,7 @@ export class DebugAppView<T> extends AppView<T> {
|
||||
|
||||
eventHandler(cb: Function): Function {
|
||||
var superHandler = super.eventHandler(cb);
|
||||
return (event) => {
|
||||
return (event: any /** TODO #9100 */) => {
|
||||
this._resetDebug();
|
||||
try {
|
||||
return superHandler(event);
|
||||
@ -440,7 +440,7 @@ export class DebugAppView<T> extends AppView<T> {
|
||||
}
|
||||
|
||||
function _findLastRenderNode(node: any): any {
|
||||
var lastNode;
|
||||
var lastNode: any /** TODO #9100 */;
|
||||
if (node instanceof AppElement) {
|
||||
var appEl = <AppElement>node;
|
||||
lastNode = appEl.nativeElement;
|
||||
|
Reference in New Issue
Block a user