Pin using names (#49 again) (#51)

This commit is contained in:
Maciej Hirsz
2018-09-24 21:53:16 +02:00
committed by GitHub
parent 5e995ea21d
commit e0012099c0
5 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export interface State {
chains: Map<Types.ChainLabel, Types.NodeCount>;
nodes: Map<Types.NodeId, State.Node>;
settings: Readonly<State.Settings>;
pins: Readonly<Set<Types.NodeId>>;
pins: Readonly<Set<Types.NodeName>>;
}
export type Update = <K extends keyof State>(changes: Pick<State, K> | null) => Readonly<State>;