From 23735e51b7cd23e2c672b1c804ce980fb640c056 Mon Sep 17 00:00:00 2001 From: Errietta Kostala Date: Mon, 23 Jul 2018 16:29:54 +0100 Subject: [PATCH] jsoneditor: Add 'schemaRefs' option (#27474) * Add 'schemaRefs' option * reference new version * fix comment --- types/jsoneditor/index.d.ts | 4 +++- types/jsoneditor/jsoneditor-tests.ts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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'