mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix type import
This commit is contained in:
parent
cb7fbcf33e
commit
83e7eaa795
@ -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;
|
||||||
|
|
||||||
|
@ -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';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user