mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
Merge pull request #974 from wiredprairie/patch-1
Update winjs.d.ts to include the class ErrorFromName
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