Merge pull request #28972 from volfpe/master

react-native-doc-viewer types update
This commit is contained in:
Jesse Trinity
2018-09-18 17:30:22 -07:00
committed by GitHub
+8 -2
View File
@@ -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 <https://github.com/iRoachie>
// 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;