Closed papillot closed 1 year ago
Do not merge yet. There is an issue after build where all cylinders appear black
Issue with the cylinders solved (spurious testing code introduced has been removed)
Do you want me to make a release and check declarations get pushed?
Thanks for this! Yes a release would be nice. I think we can make 2.1 as we have the sdf v3000 new feature.
I've pushed 2.1.0-0 with the @next tag (i.e.npm install ngl@next
). That seems to have packed the declarations in with it. Let me know if it's okay and I'll push it as 2.1.0 (latest tag)
Yes! I've done a quick test: create a new repository, npm install ngl@next
, create a .ts file, and I can import from NGL modules and have all the typings at hand!
Thanks a lot! This actually concludes the TS migration initiated 5 years ago 💯
2.1.0 released
This PR contains a new round about Typescript declarations.
color
parameter can be a string (was limited to numbers),autoview()
can take a selection string as a parameter,labelText
takes an array of strings,...