Skip to content

Commit 7037c1a

Browse files
eneufeldedgarmueller
authored andcommitted
fix linting error
1 parent 483623f commit 7037c1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/material-tree-renderer/src/services/property.util.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ const findReferences = (
9898
* @returns JsonSchema current subschema with resolved references
9999
*/
100100
export 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)

0 commit comments

Comments
 (0)