first commit
This commit is contained in:
6
frontend/node_modules/antd/es/watermark/useSingletonCache.d.ts
generated
vendored
Normal file
6
frontend/node_modules/antd/es/watermark/useSingletonCache.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export type GetCache<T, R> = (cacheKeys: T, callback: () => R) => R;
|
||||
/**
|
||||
* Singleton cache will only take latest `cacheParams` as key
|
||||
* and return the result for callback matching.
|
||||
*/
|
||||
export default function useSingletonCache<T extends any[], R>(): GetCache<T, R>;
|
||||
Reference in New Issue
Block a user