Merge pull request #974 from wiredprairie/patch-1

Update winjs.d.ts to include the class ErrorFromName
This commit is contained in:
basarat
2013-09-01 03:18:20 -07:00
+3
View File
@@ -62,6 +62,9 @@ declare module WinJS {
function start(): void;
function stop(): void;
}
class ErrorFromName {
constructor(name: string, message?: string);
}
class Promise<T> {
constructor(init: (c: any, e: any, p: any) => void);
then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progress: any) => void ): Promise<U>;