File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/angular2/src/core/compiler Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ import * as viewModule from './view';
33import { RenderViewRef } from 'angular2/src/render/api' ;
44
55// This is a workaround for privacy in Dart as we don't have library parts
6- export function internalView ( viewRef :ViewRef ) {
6+ export function internalView ( viewRef :ViewRef ) : viewModule . AppView {
77 return viewRef . _view ;
88}
99
1010// This is a workaround for privacy in Dart as we don't have library parts
11- export function internalProtoView ( protoViewRef :ProtoViewRef ) {
11+ export function internalProtoView ( protoViewRef :ProtoViewRef ) : viewModule . AppProtoView {
1212 return isPresent ( protoViewRef ) ? protoViewRef . _protoView : null ;
1313}
1414
@@ -26,7 +26,7 @@ export class ViewRef {
2626 return this . _view . render ;
2727 }
2828
29- setLocal ( contextName : string , value :any ) {
29+ setLocal ( contextName :string , value :any ) : void {
3030 this. _view . setLocal ( contextName , value ) ;
3131 }
3232}
You can’t perform that action at this time.
0 commit comments