module system: extensible option types
This commit is contained in:
committed by
Nicolas B. Pierron
parent
d10356b825
commit
e14de56613
+1
-1
@@ -92,7 +92,7 @@ rec {
|
||||
internal = opt.internal or false;
|
||||
visible = opt.visible or true;
|
||||
readOnly = opt.readOnly or false;
|
||||
type = opt.type.name or null;
|
||||
type = opt.type.description or null;
|
||||
}
|
||||
// (if opt ? example then { example = scrubOptionValue opt.example; } else {})
|
||||
// (if opt ? default then { default = scrubOptionValue opt.default; } else {})
|
||||
|
||||
Reference in New Issue
Block a user