biodiv / contactjs

Pointer gestures for your webapp
MIT License
77 stars 6 forks source link

Error in TS build #37

Closed LEinfeldt closed 1 year ago

LEinfeldt commented 1 year ago

Thanks for providing this lib :-).

When I build my Project (typescript: 4.9.4) with a contactjs dependency, I receive the following error:

Error: node_modules/contactjs/dist/index.d.ts:18:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

18 enum PointerManagerState {
   ~~~~

Could you export or declare these?

LEinfeldt commented 1 year ago

Thanks for the quick response :)

biodiv commented 1 year ago

Thanks for reporting the issue!