typescript-deferred
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "typescript-deferred", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/DirtyHairy/typescript-deferred", | ||
@@ -29,4 +29,5 @@ "authors": [ | ||
"typescript_deferred.js", | ||
"!build/typescript_deferred.js", | ||
"typescript_deffered.d.ts" | ||
] | ||
} |
{ | ||
"name": "typescript-deferred", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A tiny Promises/A+ promise implementation written in Typescript", | ||
@@ -5,0 +5,0 @@ "keywords": ["promise", "deferred", "typescript"], |
@@ -148,6 +148,6 @@ # What is it? | ||
**Typescript considerations** | ||
**Typescript** | ||
The `always` callback cannot alter the type wrapped by the promise --- there is | ||
no type parameter. | ||
`always` can change the type wrapped by the promise and carries a type parameter | ||
just like `then`. In most cases, type inference will safe you the work of specifying it. | ||
@@ -166,4 +166,4 @@ ### otherwise | ||
`otherwise` can change the type wrapped by the promise and carries a type parameter | ||
just like `then`. In most cases, type inference will safe you the work of specifying it. | ||
`otherwise` cannot alter the type wrapped by the promise --- there is | ||
no type parameter. | ||
@@ -170,0 +170,0 @@ ## More Typescript |
49462
1009