Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@Torathion Torathion released this 11 Jan 22:06
· 3 commits to master since this release

Added

  • Added PromiseCallback to have a general type for a callback function of a Promise

Changed

  • Changed the Rejector reason to Error as this is the most recommended type.
  • Renamed OnFulFilled to OnFulfilled

Removed

  • Removed type undefined from Resolver to actually mimic a Promise resolver function
  • Removed RejectedValue as it didn't serve any purpose