Skip to content

Commit

Permalink
typings: context.resolve keypath is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
evs-chris committed Sep 1, 2018
1 parent cfb54da commit a827e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/ractive.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@ export class ContextHelper {

/**
* Resolve the given Context-relative keypath to a root keypath, optionally in the given instance. Note that some keypaths cannot be resolved to root keypaths.
* @param keypath relative keypath
* @param keypath @default '.' relative keypath
* @param ractive target instance in which to resolve the keypath
*/
resolve(keypath: string, ractive?: Ractive): string;
resolve(keypath?: string, ractive?: Ractive): string;

/**
* Reverse the array at the given Context-relative keypath.
Expand Down

0 comments on commit a827e81

Please sign in to comment.