Make hostname typed in NodeFilter.
This commit is contained in:
parent
2d83326b78
commit
b734a422a7
|
@ -38,8 +38,7 @@ import util from "util";
|
||||||
const pglob = util.promisify(glob);
|
const pglob = util.promisify(glob);
|
||||||
|
|
||||||
type NodeFilter = {
|
type NodeFilter = {
|
||||||
// TODO: Newtype
|
hostname?: Hostname,
|
||||||
hostname?: string,
|
|
||||||
mac?: MAC,
|
mac?: MAC,
|
||||||
key?: FastdKey,
|
key?: FastdKey,
|
||||||
token?: Token,
|
token?: Token,
|
||||||
|
|
Loading…
Reference in a new issue