diff --git a/src/state/targetState.ts b/src/state/targetState.ts index 9b767f91..7eeb94bf 100644 --- a/src/state/targetState.ts +++ b/src/state/targetState.ts @@ -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 || this._identifier; } identifier(): StateOrName {