You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've confirmed that adding "dom" to the "lib" compiler option does fix the compile. Not sure if you want to keep this open or close it. For node implementations, it'd probably be preferred to not require "dom"
On
"typescript": "^3.0.3"
, when importing the library asimport eventbrite from 'eventbrite';
, then runningtsc
, an error is thrown:Expected Behavior
Should compile in Typescript
Possible Solution
Define type or interface for RequestInit.
I've added
export type RequestInit = any;
to the top of the types file and it complies now. Obviouslyany
is not preferable.Your Environment
The text was updated successfully, but these errors were encountered: