UNPKG
take-shot
Version:
latest (0.0.13)
0.0.13
0.0.12
0.0.9
0.0.8
0.0.7
0.0.6
Screenshots with JavaScript
github.com/sedmedgh/take-shot
sedmedgh/take-shot
take-shot
/
dist
/
css
/
types
/
length.d.ts
5 lines
(4 loc)
•
242 B
TypeScript
View Raw
1
2
3
4
5
import
{
CSSValue
}
from
'../syntax/parser'
;
import
{
DimensionToken
,
NumberValueToken
}
from
'../syntax/tokenizer'
;
export
type
Length
=
DimensionToken
|
NumberValueToken
;
export
declare
const
isLength
:
(
token
:
CSSValue
) =>
token is
Length
;