File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/material-tree-renderer/src/services Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ const findReferences = (
9898 * @returns JsonSchema current subschema with resolved references
9999 */
100100export const makeSchemaSelfContained = (
101- parentSchema : JsonSchema ,
102- schema : JsonSchema
103- ) : JsonSchema => {
101+ parentSchema : JsonSchema7 ,
102+ schema : JsonSchema7
103+ ) : JsonSchema7 => {
104104 const schemaRefs = JsonRefs . findRefs ( schema , {
105105 resolveCirculars : true
106106 } ) as SchemaRefs ;
@@ -155,7 +155,7 @@ const resolveAndMakeSchemaSelfContained = (
155155 parentSchema : JsonSchema7 ,
156156 refPath : string
157157) : JsonSchema7 => {
158- const schema : JsonSchema = resolveSchema ( parentSchema , refPath ) as JsonSchema ;
158+ const schema : JsonSchema7 = resolveSchema ( parentSchema , refPath ) as JsonSchema7 ;
159159 return {
160160 ...schema ,
161161 ...makeSchemaSelfContained ( parentSchema , schema )
You can’t perform that action at this time.
0 commit comments