mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #28972 from volfpe/master
react-native-doc-viewer types update
This commit is contained in:
+8
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user