nsfm/dualsense-ts

Node HID check for browser error

CaptainThrillsDev opened this issue · 0 comments

Describe the bug
node_hid_provider is checking for window type undefined, typeof window === 'undefined' though

To Reproduce
Please provide exact package version and steps to reproduce the behavior:

  1. Try and run with node-hid

Expected behavior
Update check to correctly use 'undefined'