From de6643ff66a5d2933517ae5730acec38249aea39 Mon Sep 17 00:00:00 2001 From: Mickey Date: Sat, 25 Jun 2016 02:26:37 +0300 Subject: [PATCH] Correct method name ($postLink) `$postInit` should be `$postLink` --- angularjs/angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 1ae64c8e45..5f36bd38c9 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -1755,7 +1755,7 @@ declare namespace angular { * analogous to the ngAfterViewInit and ngAfterContentInit hooks in Angular 2. Since the compilation process is rather * different in Angular 1 there is no direct mapping and care should be taken when upgrading. */ - $postInit?(): void; + $postLink?(): void; } interface IChangesObject {