UNPKG
scandit-sdk
Version:
beta (5.15.0-beta.0)
latest (5.15.0)
5.15.0
5.15.0-beta.0
5.14.1
5.14.0
5.14.0-beta.1
5.13.5
5.13.4
5.13.3
5.13.2
5.13.2-beta.1
5.13.1
5.13.0
5.12.2
5.12.2-beta.1
5.12.1
5.12.0
5.11.1
5.11.0
5.10.0
5.9.3
5.9.2
5.9.1
5.9.0
5.8.2
5.8.1
5.8.0
5.7.1
5.7.0
5.6.0
5.5.3
5.5.2
5.5.0
5.4.2
5.4.1
5.4.0
5.3.2
5.3.1
5.3.0
5.3.0-beta
5.2.0
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.1
5.0.0
4.6.3
4.6.2
4.6.1
4.6.0
4.5.1
4.5.0
4.4.2
4.4.1
4.4.0
4.3.0
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.0
3.2.0
3.1.3
3.1.2
3.1.1
3.1.0
3.0.0
2.5.1
2.5.0
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Scandit Barcode Scanner SDK for the Web
www.scandit.com/products/sdk-web/
scandit-sdk
/
build
/
main
/
webComponent
/
attributeConverter.d.ts
4 lines
(3 loc)
•
271 B
TypeScript
View Raw
1
2
3
4
import
{
AttributeDescriptor
}
from
"./schema"
;
export
type
ConvertedAttribute
=
boolean
|
string
|
unknown
[] |
number
|
object
|
undefined
;
export
declare
function
convertAttribute
(
schema
:
AttributeDescriptor
,
value
:
string
|
undefined
):
ConvertedAttribute
|
undefined
;