File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export type ParsedParameterSetting =
3535export class ParsedResourceSettings < T extends StringIndexedObject > implements ResourceSettings < T > {
3636 private cache = new Map < string , unknown > ( ) ;
3737 id ! : string ;
38- schema ?: JSONSchemaType < T | any > ;
38+ schema ?: Partial < JSONSchemaType < T | any > > ;
3939 allowMultiple ?: {
4040 matcher ?: ( desired : Partial < T > , current : Partial < T > [ ] ) => Partial < T > ;
4141 requiredParameters ?: string [ ]
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export interface ResourceSettings<T extends StringIndexedObject> {
2424 /**
2525 * Schema to validate user configs with. Must be in the format JSON Schema draft07
2626 */
27- schema ?: JSONSchemaType < T | any > ;
27+ schema ?: Partial < JSONSchemaType < T | any > > ;
2828
2929 /**
3030 * Allow multiple of the same resource to unique. Set truthy if
You can’t perform that action at this time.
0 commit comments