Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 604d6e9

Browse files
committed
Update import type syntax
1 parent 1c272e9 commit 604d6e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/Highlighter/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
var Highlighter = require('./Highlighter');
1414

15-
import type * as Agent from '../../agent/Agent';
15+
import type Agent from '../../agent/Agent';
1616

1717
module.exports = function setup(agent: Agent) {
1818
var hl = new Highlighter(window, node => {

frontend/Store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var nodeMatchesText = require('./nodeMatchesText');
1717
var consts = require('../agent/consts');
1818
var invariant = require('./invariant');
1919

20-
import type * as Bridge from '../agent/Bridge';
20+
import type Bridge from '../agent/Bridge';
2121
import type {DOMEvent, ElementID} from './types';
2222

2323
type ListenerFunction = () => void;

0 commit comments

Comments
 (0)