diff --git a/src/Length.js b/src/Length.js index e2c1d78..f7978cc 100644 --- a/src/Length.js +++ b/src/Length.js @@ -1,7 +1,7 @@ /* @flow */ 'use strict'; -import NodeContainer from './NodeContainer'; +import type NodeContainer from './NodeContainer'; const LENGTH_WITH_UNIT = /([\d.]+)(px|r?em|%)/i; diff --git a/src/Unicode.js b/src/Unicode.js index ec31805..90173cc 100644 --- a/src/Unicode.js +++ b/src/Unicode.js @@ -1,7 +1,7 @@ /* @flow */ 'use strict'; -import NodeContainer from './NodeContainer'; +import type NodeContainer from './NodeContainer'; import {LineBreaker, fromCodePoint, toCodePoints} from 'css-line-break'; import {OVERFLOW_WRAP} from './parsing/overflowWrap';