forked from input-output-hk/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,620 additions
and
1,921 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
|
||
# But not these file types | ||
!*.js | ||
!*.ts | ||
!*.tsx | ||
!*.scss | ||
!*.json | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
declare module '*.svg' { | ||
const content: any; | ||
export default content; | ||
} | ||
|
||
declare module '*.scss' { | ||
const content: any; | ||
export default content; | ||
} | ||
|
||
type Daedalus = { | ||
actions: ActionsMap, | ||
api: Api, | ||
environment: Object, | ||
reset: Function, | ||
stores: StoresMap, | ||
translations: Object, | ||
utils: { | ||
crypto: { | ||
generateMnemonic: Function | ||
} | ||
}, | ||
}; | ||
|
||
//declare type EnumMap<K: string, V, O: Object = *> = O & { [K]: V & <O, K> }; | ||
|
||
declare global { | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
WALLET_COUNT: number; | ||
} | ||
} | ||
var daedalus: Daedalus; | ||
} | ||
|
||
export {}; | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.