vanruesc / sparse-octree

A sparse octree data structure.
zlib License
117 stars 20 forks source link

Add Typescript typings for the project #29

Closed hccampos closed 6 years ago

vanruesc commented 6 years ago

Hello and thanks for contributing!

I'm concerned that maintaining a TypeScript typings file may cause more harm than good. In fact, your proposed typings file seems to be outdated already. For example OctreeIterator has been renamed to OctantIterator quite a while ago.

Although I don't have any experience with TypeScript, I think that a typings file may not be necessary for this library. As far as I know, TypeScript has an --allowJs flag for automatic type inferences.

I don't mean to reject the idea of supporting TypeScript. If there's a good reason for including a typings file, I'll listen!

vanruesc commented 6 years ago

Closing due to inactivity.