More strong Promise<T> in lib.es6.d.ts · Issue #5413 · Microsoft/TypeScript

I think it would be good to be able to define the type of error in Promise type. I suggest promise type to be something like this: interface Promise<T,U> { /** * Attaches callbacks for the ...</t,u>