@opencvjs/types 4.10.0-release.2 → 4.10.0-release.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,7 +16,7 @@ import type { OpenCV } from "@opencvjs/types";
16
16
 
17
17
  ## Credits
18
18
 
19
- The definitions are based on the [@techstark/opencv-js](https://github.com/TechStark/opencv-js) and [mirada](https://github.com/cancerberoSgx/mirada) projects.
19
+ TypeScript definitions are based on the [@techstark/opencv-js](https://github.com/TechStark/opencv-js) and [mirada](https://github.com/cancerberoSgx/mirada) projects.
20
20
 
21
21
  ## License
22
22
 
@@ -3051,7 +3051,7 @@ export declare const ROTATE_90_COUNTERCLOCKWISE: RotateFlags; // initializer: =
3051
3051
  * [borderInterpolate], [copyMakeBorder]
3052
3052
  *
3053
3053
  */
3054
- export type BorderTypes = any;
3054
+ export type BorderTypes = number;
3055
3055
 
3056
3056
  /**
3057
3057
  * Various border types, image boundaries are denoted with `|`
@@ -3059,7 +3059,7 @@ export type BorderTypes = any;
3059
3059
  * [borderInterpolate], [copyMakeBorder]
3060
3060
  *
3061
3061
  */
3062
- export type CmpTypes = any;
3062
+ export type CmpTypes = number;
3063
3063
 
3064
3064
  /**
3065
3065
  * Various border types, image boundaries are denoted with `|`
@@ -3067,7 +3067,7 @@ export type CmpTypes = any;
3067
3067
  * [borderInterpolate], [copyMakeBorder]
3068
3068
  *
3069
3069
  */
3070
- export type DecompTypes = any;
3070
+ export type DecompTypes = number;
3071
3071
 
3072
3072
  /**
3073
3073
  * Various border types, image boundaries are denoted with `|`
@@ -3075,7 +3075,7 @@ export type DecompTypes = any;
3075
3075
  * [borderInterpolate], [copyMakeBorder]
3076
3076
  *
3077
3077
  */
3078
- export type DftFlags = any;
3078
+ export type DftFlags = number;
3079
3079
 
3080
3080
  /**
3081
3081
  * Various border types, image boundaries are denoted with `|`
@@ -3083,7 +3083,7 @@ export type DftFlags = any;
3083
3083
  * [borderInterpolate], [copyMakeBorder]
3084
3084
  *
3085
3085
  */
3086
- export type GemmFlags = any;
3086
+ export type GemmFlags = number;
3087
3087
 
3088
3088
  /**
3089
3089
  * Various border types, image boundaries are denoted with `|`
@@ -3091,7 +3091,7 @@ export type GemmFlags = any;
3091
3091
  * [borderInterpolate], [copyMakeBorder]
3092
3092
  *
3093
3093
  */
3094
- export type NormTypes = any;
3094
+ export type NormTypes = number;
3095
3095
 
3096
3096
  /**
3097
3097
  * Various border types, image boundaries are denoted with `|`
@@ -3099,4 +3099,4 @@ export type NormTypes = any;
3099
3099
  * [borderInterpolate], [copyMakeBorder]
3100
3100
  *
3101
3101
  */
3102
- export type RotateFlags = any;
3102
+ export type RotateFlags = number;
@@ -145,7 +145,7 @@ export declare function setDelayFunction(...a: any[]): any;
145
145
  export declare class EmscriptenEmbindInstance {
146
146
  isAliasOf(other: any): bool;
147
147
  clone(): any;
148
- delete(): any;
148
+ delete(): void;
149
149
  isDeleted(): boolean;
150
150
  deleteLater(): any;
151
151
  }
@@ -249,7 +249,7 @@ export declare const CV_64FC2: CVDataType;
249
249
  export declare const CV_64FC3: CVDataType;
250
250
  export declare const CV_64FC4: CVDataType;
251
251
 
252
- export type CVDataType = any;
252
+ export type CVDataType = number;
253
253
 
254
254
  export declare function ellipse1(
255
255
  dst: Mat,
@@ -524,4 +524,4 @@ export declare const COLOR_COLORCVT_MAX: ColorConversionCodes; // initializer: =
524
524
  * [Color conversions]
525
525
  *
526
526
  */
527
- export type ColorConversionCodes = any;
527
+ export type ColorConversionCodes = number;
@@ -911,8 +911,8 @@ export declare const MORPH_HITMISS: MorphTypes; // initializer: = 7
911
911
 
912
912
  export declare const FILTER_SCHARR: SpecialFilter; // initializer: = -1
913
913
 
914
- export type MorphShapes = any;
914
+ export type MorphShapes = number;
915
915
 
916
- export type MorphTypes = any;
916
+ export type MorphTypes = number;
917
917
 
918
- export type SpecialFilter = any;
918
+ export type SpecialFilter = number;
@@ -557,7 +557,7 @@ export declare const THRESH_TRIANGLE: ThresholdTypes; // initializer: = 16
557
557
  * [adaptiveThreshold]
558
558
  *
559
559
  */
560
- export type AdaptiveThresholdTypes = any;
560
+ export type AdaptiveThresholdTypes = number;
561
561
 
562
562
  /**
563
563
  * adaptive threshold algorithm
@@ -565,7 +565,7 @@ export type AdaptiveThresholdTypes = any;
565
565
  * [adaptiveThreshold]
566
566
  *
567
567
  */
568
- export type DistanceTransformLabelTypes = any;
568
+ export type DistanceTransformLabelTypes = number;
569
569
 
570
570
  /**
571
571
  * adaptive threshold algorithm
@@ -573,7 +573,7 @@ export type DistanceTransformLabelTypes = any;
573
573
  * [adaptiveThreshold]
574
574
  *
575
575
  */
576
- export type DistanceTransformMasks = any;
576
+ export type DistanceTransformMasks = number;
577
577
 
578
578
  /**
579
579
  * adaptive threshold algorithm
@@ -581,7 +581,7 @@ export type DistanceTransformMasks = any;
581
581
  * [adaptiveThreshold]
582
582
  *
583
583
  */
584
- export type DistanceTypes = any;
584
+ export type DistanceTypes = number;
585
585
 
586
586
  /**
587
587
  * adaptive threshold algorithm
@@ -589,7 +589,7 @@ export type DistanceTypes = any;
589
589
  * [adaptiveThreshold]
590
590
  *
591
591
  */
592
- export type FloodFillFlags = any;
592
+ export type FloodFillFlags = number;
593
593
 
594
594
  /**
595
595
  * adaptive threshold algorithm
@@ -597,7 +597,7 @@ export type FloodFillFlags = any;
597
597
  * [adaptiveThreshold]
598
598
  *
599
599
  */
600
- export type GrabCutClasses = any;
600
+ export type GrabCutClasses = number;
601
601
 
602
602
  /**
603
603
  * adaptive threshold algorithm
@@ -605,7 +605,7 @@ export type GrabCutClasses = any;
605
605
  * [adaptiveThreshold]
606
606
  *
607
607
  */
608
- export type GrabCutModes = any;
608
+ export type GrabCutModes = number;
609
609
 
610
610
  /**
611
611
  * adaptive threshold algorithm
@@ -613,4 +613,4 @@ export type GrabCutModes = any;
613
613
  * [adaptiveThreshold]
614
614
  *
615
615
  */
616
- export type ThresholdTypes = any;
616
+ export type ThresholdTypes = number;
@@ -711,14 +711,14 @@ export declare const CONTOURS_MATCH_I2: ShapeMatchModes; // initializer: =2
711
711
 
712
712
  export declare const CONTOURS_MATCH_I3: ShapeMatchModes; // initializer: =3
713
713
 
714
- export type ConnectedComponentsAlgorithmsTypes = any;
714
+ export type ConnectedComponentsAlgorithmsTypes = number;
715
715
 
716
- export type ConnectedComponentsTypes = any;
716
+ export type ConnectedComponentsTypes = number;
717
717
 
718
- export type ContourApproximationModes = any;
718
+ export type ContourApproximationModes = number;
719
719
 
720
- export type RectanglesIntersectTypes = any;
720
+ export type RectanglesIntersectTypes = number;
721
721
 
722
- export type RetrievalModes = any;
722
+ export type RetrievalModes = number;
723
723
 
724
- export type ShapeMatchModes = any;
724
+ export type ShapeMatchModes = number;
@@ -567,8 +567,8 @@ export declare const WARP_POLAR_LINEAR: WarpPolarMode; // initializer: = 0
567
567
 
568
568
  export declare const WARP_POLAR_LOG: WarpPolarMode; // initializer: = 256
569
569
 
570
- export type InterpolationFlags = any;
570
+ export type InterpolationFlags = number;
571
571
 
572
- export type InterpolationMasks = any;
572
+ export type InterpolationMasks = number;
573
573
 
574
- export type WarpPolarMode = any;
574
+ export type WarpPolarMode = number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencvjs/types",
3
- "version": "4.10.0-release.2",
3
+ "version": "4.10.0-release.4",
4
4
  "author": "ocavue <ocavue@gmail.com>",
5
5
  "repository": "https://github.com/ocavue/opencvjs",
6
6
  "types": "./lib/index.d.ts",
package/tsconfig.json CHANGED
@@ -1,15 +1,3 @@
1
1
  {
2
- "compilerOptions": {
3
- "skipLibCheck": false,
4
- "target": "es2022",
5
- "moduleDetection": "force",
6
- "isolatedModules": true,
7
- "verbatimModuleSyntax": true,
8
- "strict": true,
9
- "noUncheckedIndexedAccess": true,
10
- "noImplicitOverride": true,
11
- "module": "ESNext",
12
- "noEmit": true,
13
- "lib": ["es2022", "DOM"]
14
- }
2
+ "extends": "../../tsconfig.json"
15
3
  }