From acc4791cbdb85bf90be62d0b1fade5a295c5a631 Mon Sep 17 00:00:00 2001 From: Petr Volf Date: Tue, 18 Sep 2018 09:27:19 +0200 Subject: [PATCH] react-native-doc-viewer types update --- types/react-native-doc-viewer/index.d.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/types/react-native-doc-viewer/index.d.ts b/types/react-native-doc-viewer/index.d.ts index f7e28147b7..df769e71ea 100644 --- a/types/react-native-doc-viewer/index.d.ts +++ b/types/react-native-doc-viewer/index.d.ts @@ -1,11 +1,17 @@ -// Type definitions for react-native-doc-viewer 2.4 +// Type definitions for react-native-doc-viewer 2.7 // Project: https://github.com/philipphecht/react-native-doc-viewer/blob/master/README.md // Definitions by: Kyle Roach // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 export function openDoc( - files: Array<{ url: string; fileName?: string }>, + files: Array<{ + url: string; + fileName?: string, + fileNameOptional?: string, + cache?: boolean, + fileType?: string + }>, callback: (error: string, url: string) => void ): void;