-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi, I have been using your wonderful module recently and I noticed that if i try and use the delete functionality as a named import it wont compile as delete is a reserved word in javascript. For example
import {json, delete} from 'web-request';
The above throws an error because of the name "delete". Is it possible to rename this to something that is not a reserved word?
I should note that the below works, however I really like having named imports, I feel its a lot cleaner
import WebRequest from 'web-request';
WebRequest.delete('http://bla.com/bla');
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels