Skip to content
Permalink
Browse files

fix(typings): explicit return typings for createFullOverrideContext

  • Loading branch information...
bigopon committed May 8, 2019
1 parent 1d2d415 commit abe97d32ae683880321b28ee0b9b84e5999246a8
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/repeat-utilities.ts
@@ -3,7 +3,8 @@ import {
BindingBehavior,
ValueConverter,
sourceContext,
bindingMode
bindingMode,
OverrideContext
} from 'aurelia-binding';

const oneTime = bindingMode.oneTime;
@@ -31,7 +32,7 @@ export function updateOverrideContexts(views, startIndex) {
* @param length The collections total length.
* @param key The key in a key/value pair.
*/
export function createFullOverrideContext(repeat, data, index, length, key?: string) {
export function createFullOverrideContext(repeat, data, index, length, key?: string): OverrideContext {
let bindingContext = {};
let overrideContext = createOverrideContext(bindingContext, repeat.scope.overrideContext);
// is key/value pair (Map)

0 comments on commit abe97d3

Please sign in to comment.
You can’t perform that action at this time.