-
Notifications
You must be signed in to change notification settings - Fork 55
Improve some types #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Improve some types #106
Conversation
|
|
||
| import { Algorithm, type LineTypes, Mat, type NormTypes, RotatedRect } from "."; | ||
| import "../_cv"; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove cycling imports.
| * | ||
| */ | ||
| export type DecompTypes = any; | ||
| export type DecompTypes = number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change some types from any to number
|
|
||
| /** | ||
| * https://docs.opencv.org/master/d0/d13/classcv_1_1Feature2D.html | ||
| * https://docs.opencv.org/4.12.0/d0/d13/classcv_1_1Feature2D.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to use a fixed version of the link. The link with master might get broken when a new major version is released.
This is a stack pull request that is based on #105. You likely want to review and merge #105 first.
I explained my changes as comments in this PR.