use from for cast
use from for cast

cpojer/promise,implausible/promise,Bacra/promise,vigetlabs/promise,ljharb/promise,then/promise,JoshuaWise/jellypromise,npmcomponent/then-promise,taylorhakes/promise,astorije/promise,nodegit/promise,slang800/promise