verb icon indicating copy to clipboard operation
verb copied to clipboard

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

Open bradphelan opened this issue 5 years ago • 1 comments

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

bradphelan avatar Sep 21 '20 18:09 bradphelan

Try to fix it in https://github.com/pboyer/verb/pull/56

ElGussy avatar Feb 15 '21 19:02 ElGussy