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>
20 lines
387 B
TypeScript
20 lines
387 B
TypeScript
export * from './types/gun';
|
|
export * from './types/sea';
|
|
|
|
import { IGun, LEX } from './types/gun';
|
|
import { ISEA } from './types/sea';
|
|
|
|
declare const Gun: IGun;
|
|
export default Gun;
|
|
|
|
export const SEA: ISEA;
|
|
|
|
declare global {
|
|
const Gun: IGun;
|
|
|
|
interface StringConstructor {
|
|
match(t: string, o: LEX | string): boolean;
|
|
random(length?: number, alphabet?: string): string;
|
|
}
|
|
}
|