UNPKG
@darthmaim/barcode
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Verify EAN barcodes
github.com/darthmaim/barcode
darthmaim/barcode
@darthmaim/barcode
/
lib
/
types.d.ts
14 lines
(13 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
declare
type
EncodedGroup
= {
text
?:
string
;
width
:
number
; } & ({
type
:
'quietZone'
; } | {
type
:
'marker'
|
'data'
;
data
:
string
; });
export
declare
type
Encoded
= {
width
:
number
;
groups
:
EncodedGroup
[]; };