Fix #548: `import JSONEditor from 'jsoneditor'` not working in TypeScript projects
This commit is contained in:
parent
f27bd97d9d
commit
655990c2a7
|
@ -3,6 +3,12 @@
|
||||||
https://github.com/josdejong/jsoneditor
|
https://github.com/josdejong/jsoneditor
|
||||||
|
|
||||||
|
|
||||||
|
## 2018-09-12, version 5.24.6
|
||||||
|
|
||||||
|
- Fix #548: `import JSONEditor from 'jsoneditor'` not working in
|
||||||
|
TypeScript projects (gave a constructor is undefined error).
|
||||||
|
|
||||||
|
|
||||||
## 2018-09-06, version 5.24.5
|
## 2018-09-06, version 5.24.5
|
||||||
|
|
||||||
- Fixed a bug in textmode on IE 11, not loading the editor when
|
- Fixed a bug in textmode on IE 11, not loading the editor when
|
||||||
|
|
|
@ -456,4 +456,7 @@ JSONEditor.ace = ace;
|
||||||
JSONEditor.Ajv = Ajv;
|
JSONEditor.Ajv = Ajv;
|
||||||
JSONEditor.VanillaPicker = VanillaPicker;
|
JSONEditor.VanillaPicker = VanillaPicker;
|
||||||
|
|
||||||
|
// default export for TypeScript ES6 projects
|
||||||
|
JSONEditor.default = JSONEditor;
|
||||||
|
|
||||||
module.exports = JSONEditor;
|
module.exports = JSONEditor;
|
||||||
|
|
Loading…
Reference in New Issue