mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00

* New GUN typings * Fixing comments * Gun schema is now supported Co-authored-by: dbaranov <dbaranov@bellintegrator.com>
14 lines
470 B
TypeScript
14 lines
470 B
TypeScript
import {} from '../types/gun/IGunChain';
|
|
declare module '../types/gun/IGunChain' {
|
|
export interface IGunChain<TNode, TChainParent, TGunInstance, TKey> {
|
|
/**
|
|
* > Warning: Dependency script for browser: <script src="/gun/lib/open.js"></script>`
|
|
*
|
|
* Loads the full object once. It is the same as open but with the behavior of once
|
|
*/
|
|
load(
|
|
callback: (data: TNode) => void
|
|
): IGunChain<TNode, TChainParent, TGunInstance, TKey>;
|
|
}
|
|
}
|