Rename parseState to type
This commit is contained in:
parent
9dc14a3657
commit
52e825549d
4 changed files with 14 additions and 14 deletions
|
|
@ -6,7 +6,7 @@ export type Topic = {
|
|||
command: string,
|
||||
defaultValue: Actual,
|
||||
values: Map<Internal, Actual>,
|
||||
parseState?: (msg: Object) => any
|
||||
type?: (msg: Buffer) => any
|
||||
};
|
||||
export type Topics = Map<string, Topic>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue