-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename the file to better reflect its purpose. Also prevent it to be conflict with zbar.js because github action artifact is case insensitive.
- Loading branch information
1 parent
f490f86
commit 2196779
Showing
6 changed files
with
13 additions
and
13 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
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,8 +1,8 @@ | ||
import ZBar from './ZBar'; | ||
import ZBarInstance from './ZBarInstance'; | ||
import instantiate from './zbar'; | ||
|
||
export const loadWasmInstance = async ( | ||
importObj: any | ||
): Promise<ZBar | null> => { | ||
): Promise<ZBarInstance | null> => { | ||
return await instantiate(importObj); | ||
}; |
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,3 +1,3 @@ | ||
import ZBar from './ZBar'; | ||
declare const instantiate: (importObj: any) => Promise<ZBar>; | ||
import ZBarInstance from './ZBarInstance'; | ||
declare const instantiate: (importObj: any) => Promise<ZBarInstance>; | ||
export default instantiate; |