mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +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:
1 parent
9653895ef1
commit
e26d31d81d
1 file changed
+3
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