From abdcc85487c63dfa983462def1ddddf07565f6c8 Mon Sep 17 00:00:00 2001 From: Aleksandr Dobkin Date: Sat, 10 Jan 2015 00:03:08 -0800 Subject: [PATCH] Change type of LaunchDataEntry.entry from File to FileEntry entry property of LaunchDataItem is actually a FileEntry, not a File. See https://developer.chrome.com/apps/app_runtime#event-onLaunched --- chrome/chrome-app.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/chrome-app.d.ts b/chrome/chrome-app.d.ts index 658ea0f8e8..a2b0d5997e 100644 --- a/chrome/chrome-app.d.ts +++ b/chrome/chrome-app.d.ts @@ -18,7 +18,7 @@ declare module chrome.app.runtime { } interface LaunchDataItem { - entry: File; + entry: FileEntry; type: string; } @@ -367,4 +367,4 @@ declare module chrome.sockets.tcpServer { var onAccept: Event; var onAcceptError: Event; -} \ No newline at end of file +}