From e26d31d81d462565e931d3d337176ed2631a8fe8 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 30 Aug 2013 15:37:28 -0500 Subject: [PATCH] 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. --- winjs/winjs.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/winjs/winjs.d.ts b/winjs/winjs.d.ts index debd080d2..a76a81dbe 100644 --- a/winjs/winjs.d.ts +++ b/winjs/winjs.d.ts @@ -62,6 +62,9 @@ declare module WinJS { function start(): void; function stop(): void; } + class ErrorFromName { + constructor(name: string, message?: string); + } class Promise { constructor(init: (c: any, e: any, p: any) => void); then(success?: (value: T) => Promise, error?: (error: any) => Promise, progress?: (progress: any) => void ): Promise;