-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix messed up import
- Loading branch information
Showing
5 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import requireObjCBridge from './requireObjCBridge'; | ||
|
||
export default function makeImageDataFromUrl(url?: string) { | ||
export default function makeImageDataFromUrl(url?: string): string { | ||
return requireObjCBridge().makeImageDataFromUrl(url); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
declare module 'js-sha1'; | ||
declare module 'js-sha1' { | ||
function sha1<T>(dest: string | Array<T> | ArrayBuffer | Uint8Array): string; | ||
|
||
namespace sha1 { | ||
export function hex(arg: string): string; | ||
export function update<T>(arg: string | Array<T> | Uint8Array | ArrayBuffer): string; | ||
export function array(): Uint8Array; | ||
export function digest(): Uint8Array; | ||
export function arrayBuffer(): ArrayBuffer; | ||
} | ||
|
||
export = sha1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters