mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
jsoneditor: Add 'schemaRefs' option (#27474)
* Add 'schemaRefs' option * reference new version * fix comment
This commit is contained in:
Vendored
+3
-1
@@ -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 <https://github.com/alejo90>
|
||||
// Errietta Kostala <https://github.com/errietta>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="ace" />
|
||||
@@ -28,6 +29,7 @@ declare module 'jsoneditor' {
|
||||
modes?: Array<JSONEditorMode>;
|
||||
name?: string;
|
||||
schema?: Object;
|
||||
schemaRefs?: Object;
|
||||
search?: boolean;
|
||||
indentation?: number;
|
||||
theme?: string;
|
||||
|
||||
@@ -17,6 +17,7 @@ options = {
|
||||
modes: ['tree', 'view', 'form', 'code', 'text'],
|
||||
name: 'foo',
|
||||
schema: {},
|
||||
schemaRefs: { "otherSchema": {}},
|
||||
search: false,
|
||||
indentation: 2,
|
||||
theme: 'default'
|
||||
|
||||
Reference in New Issue
Block a user