victordibia / handtrack.js

A library for prototyping realtime hand detection (bounding box), directly in the browser.

Home Page:https://victordibia.com/handtrack.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Typescript definitions

ModischFabrications opened this issue · comments

Seems like type definitions are missing, which makes integration with a typescript (svelte) project cumbersome:

Hint: Could not find a declaration file for module 'handtrackjs'. '/handtrackjs/src/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/handtrackjs` if it exists or add a new declaration (.d.ts) file containing `declare module 'handtrackjs';` (ts)

Have the developers made any progress on this? I am encountering the same issue while developing a React application.