Fix type import

This commit is contained in:
Niklas von Hertzen 2018-07-06 22:28:48 +08:00
parent cb7fbcf33e
commit 83e7eaa795
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* @flow */ /* @flow */
'use strict'; 'use strict';
import NodeContainer from './NodeContainer'; import type NodeContainer from './NodeContainer';
const LENGTH_WITH_UNIT = /([\d.]+)(px|r?em|%)/i; const LENGTH_WITH_UNIT = /([\d.]+)(px|r?em|%)/i;

View File

@ -1,7 +1,7 @@
/* @flow */ /* @flow */
'use strict'; 'use strict';
import NodeContainer from './NodeContainer'; import type NodeContainer from './NodeContainer';
import {LineBreaker, fromCodePoint, toCodePoints} from 'css-line-break'; import {LineBreaker, fromCodePoint, toCodePoints} from 'css-line-break';
import {OVERFLOW_WRAP} from './parsing/overflowWrap'; import {OVERFLOW_WRAP} from './parsing/overflowWrap';