Skip to content
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

verb.geom.NurbsSurface does not seem to be exported as a type by typescript #51

Open
bradphelan opened this issue Sep 21, 2020 · 1 comment

Comments

@bradphelan
Copy link

bradphelan commented Sep 21, 2020

There is a directory called

typing

with a file

index.d.ts in it.

For some reason it is missing geom.NurbsSurface

HOWEVER

in the root directory of the NPM package there is another index.d.ts file that does include the type NurbsSurface.

I'm not sure why there are two files and why they are different. But using

import * as verb from "verb-nurbs-web" pulls in the one from the "typing" directory which is missing the declaration.

for example NurbsCurve is found and intellisense works

image

but

NurbsSurface is not found
image

@ElGussy
Copy link

ElGussy commented Feb 15, 2021

Try to fix it in #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants