-
Notifications
You must be signed in to change notification settings - Fork 12
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
Request for type definition file #2
Comments
@ankitagarwal299 would you try using the branch import versor = require("versor");
const v0 = versor([ 0, 0, 0 ]);
const v1 = versor([ 90, 0, 0 ]);
const delta = versor.delta(v0, v1);
const delta2 = versor.delta(v0, v1, 0.5);
const cartesian = versor.cartesian([-80, 44]);
const rotation = versor.rotation([10, 30, 40, 4]);
const multiply = versor.multiply([10, 20, 30, 40], [0, 20, 30, 50]);
// this fails as it should
versor.delta("a", "b");
// this fails
versor("a"); |
@ankitagarwal299 have you tried the branch I mentioned earlier? Would be good to get the related PR merged. Thanks! |
It is ok for me at least 💃 Would love a PR and a NPM update ;d But maybe delay it after the interpolate feature landed ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Mike,
While importing this module into Typescript file, it is complaining about d.ts file or type definition file not included in the package. I am new to typescript and trying to figure out how to create @types/versor into this package.
The text was updated successfully, but these errors were encountered: