update package json (#58)

This commit is contained in:
Matt Hill
2023-03-15 15:00:07 -06:00
committed by GitHub
parent 85959db110
commit fcfa917710
3 changed files with 340 additions and 213 deletions

View File

@@ -17,7 +17,7 @@ export enum PatchOp {
REPLACE = 'replace',
}
export interface Bootstrapper<T> {
export interface Bootstrapper<T extends Record<string, any>> {
init(): DBCache<T>
update(cache: DBCache<T>): void
}