14 lines
247 B
Plaintext
14 lines
247 B
Plaintext
let
|
|
MyConfig = {
|
|
host = String;
|
|
port = Int & > 443 default 8080;
|
|
feature.enable = Bool default true;
|
|
};
|
|
mkConfig = (cfg: MyConfig) => cfg;
|
|
in
|
|
mkConfig({
|
|
host = "127.0.0.1";
|
|
port = 8000;
|
|
feature.enable = false;
|
|
})
|