浏览代码

Switch json highlighter to use the esModuleInterop default export.

Jason Grout 7 年之前
父节点
当前提交
e125a474d9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/json-extension/src/component.tsx

+ 1 - 1
packages/json-extension/src/component.tsx

@@ -2,7 +2,7 @@ import * as React from 'react';
 
 import * as ReactDOM from 'react-dom';
 
-import Highlight = require('react-highlighter');
+import Highlight from 'react-highlighter';
 
 import JSONTree from 'react-json-tree';