chore: update the types to inference better

This commit is contained in:
BluJ
2023-02-14 14:46:23 -07:00
parent 757033d503
commit ef41ce7762
5 changed files with 33 additions and 32 deletions

View File

@@ -135,7 +135,7 @@ export interface ListValueSpecEnum {
export interface ListValueSpecObject {
spec: ConfigSpec; // this is a mapped type of the config object at this level, replacing the object's values with specs on those values
"unique-by": UniqueBy; // indicates whether duplicates can be permitted in the list
"display-as"?: string; // this should be a handlebars template which can make use of the entire config which corresponds to 'spec'
"display-as"?: null | string; // this should be a handlebars template which can make use of the entire config which corresponds to 'spec'
}
export type UniqueBy =