From 4e264781ee00cbfd69ad9c60422a804128d3ae6f Mon Sep 17 00:00:00 2001 From: JoostK Date: Fri, 3 Aug 2018 21:46:25 +0200 Subject: [PATCH] refactor(ivy): do not mention LViewData in public documentation (#25292) PR Close #25292 --- packages/core/src/render3/instructions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/render3/instructions.ts b/packages/core/src/render3/instructions.ts index 4b6553986b..2d07d49963 100644 --- a/packages/core/src/render3/instructions.ts +++ b/packages/core/src/render3/instructions.ts @@ -123,7 +123,7 @@ export function getCurrentSanitizer(): Sanitizer|null { * walking the declaration view tree in listeners to get vars from parent views. */ export function getCurrentView(): OpaqueViewState { - return (viewData as any) as OpaqueViewState; + return viewData as any as OpaqueViewState; } /** @@ -143,10 +143,10 @@ export function _getViewData(): LViewData { * of the current view and restore it when listeners are invoked. This allows * walking the declaration view tree in listeners to get vars from parent views. * - * @param viewToRestore The LViewData instance to restore. + * @param viewToRestore The OpaqueViewState instance to restore. */ export function restoreView(viewToRestore: OpaqueViewState) { - contextViewData = (viewToRestore as any) as LViewData; + contextViewData = viewToRestore as any as LViewData; } /** Used to set the parent property when nodes are created. */