Skip to content

Commit

Permalink
fix(TargetState): Narrow name() return type to String
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Nov 5, 2016
1 parent f5bd96b commit a02f4a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/targetState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export class TargetState {
this._params = _params || {};
}

name() {
return this._definition && this._definition.name || this._identifier;
name(): String {
return this._definition && this._definition.name || <String> this._identifier;
}

identifier(): StateOrName {
Expand Down

0 comments on commit a02f4a7

Please sign in to comment.