mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update winjs.d.ts to include the class ErrorFromName
From http://msdn.microsoft.com/en-us/library/windows/apps/br211689.aspx#methods, the class ErrorFromName was missing.
This commit is contained in:
Vendored
+3
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user