I ran into this today, and while I fully support types for Phidget22 via DefinitelyTyped, I wound up just doing this to get around compiler errors: // @ts-ignore import phidget22 from 'phidget22'; From there I added my own type definition file just to cover the methods I'm using. Not ideal but it ge...