File tree 2 files changed +35
-0
lines changed
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ type VinRawInfo = {
2
+ madeIn : string ;
3
+ manufacturer : string ;
4
+ details : string ;
5
+ securityCode : string ;
6
+ year : string ;
7
+ assemblyPlant : string ;
8
+ serialNumber : string ;
9
+ } ;
10
+
11
+ type VinDecodedCarInfo = {
12
+ country : string ;
13
+ serialNumber : string ;
14
+ manufacturer : string ;
15
+ modelYear : Array < string > ;
16
+ } ;
17
+
18
+ declare module "vin-decoder" {
19
+ export function validate ( vin : string , checksumParam ?: string ) : boolean ;
20
+
21
+ export function split ( vin : string ) : VinRawInfo ;
22
+ export function decode ( ) : VinDecodedCarInfo ;
23
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "target" : " es2016" ,
4
+ "module" : " commonjs" ,
5
+ "allowJs" : true ,
6
+ "forceConsistentCasingInFileNames" : true ,
7
+ "strict" : true ,
8
+ "skipLibCheck" : true ,
9
+ "noEmit" : true
10
+ },
11
+ "exclude" : [" test" , " node_modules" ]
12
+ }
You can’t perform that action at this time.
0 commit comments