refactor
This commit is contained in:
parent
2967f1a5af
commit
618b700feb
6 changed files with 738 additions and 0 deletions
10
sdk/src/global.d.ts
vendored
Normal file
10
sdk/src/global.d.ts
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* eslint-disable @typescript-eslint/consistent-type-definitions */
|
||||
|
||||
export {}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
/** Global escape hatch so script-tag consumers can reach the shared store. */
|
||||
__BANANAS_GET_CONTRACT_STATE__?: typeof import('./contract.js').getContractState
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue