diff --git a/types/jsoneditor/index.d.ts b/types/jsoneditor/index.d.ts index 175c295df6..f095cb8434 100644 --- a/types/jsoneditor/index.d.ts +++ b/types/jsoneditor/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for jsoneditor v5.5.7 +// Type definitions for jsoneditor v5.19.0 // Project: https://github.com/josdejong/jsoneditor // Definitions by: Alejandro Sánchez +// Errietta Kostala // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -28,6 +29,7 @@ declare module 'jsoneditor' { modes?: Array; name?: string; schema?: Object; + schemaRefs?: Object; search?: boolean; indentation?: number; theme?: string; diff --git a/types/jsoneditor/jsoneditor-tests.ts b/types/jsoneditor/jsoneditor-tests.ts index cc659cfe04..d905e6ba76 100644 --- a/types/jsoneditor/jsoneditor-tests.ts +++ b/types/jsoneditor/jsoneditor-tests.ts @@ -17,6 +17,7 @@ options = { modes: ['tree', 'view', 'form', 'code', 'text'], name: 'foo', schema: {}, + schemaRefs: { "otherSchema": {}}, search: false, indentation: 2, theme: 'default'