File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import AsyncStoreParams from './AsyncStoreParams';
44 * Async Store implementation contract.
55 */
66interface AsyncStore {
7- initialize : ( callback : ( err ?: any ) => void , params ?: AsyncStoreParams ) => void ;
7+ initialize : ( callback : ( err ?: any ) => void , params ?: AsyncStoreParams ) => any ;
88 set : ( properties : any ) => void ;
99 get : ( key : string ) => any ;
1010 getAll : ( ) => any ;
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export function initializeFastifyPlugin(adapter: AsyncStoreAdapter = AsyncStoreA
9999 * Initialize the async store based on the adapter provided.
100100 *
101101 * @param {AsyncStoreAdapter } [adapter=AsyncStoreAdapter.DOMAIN]
102- * @returns {(params: AsyncStoreParams) => any }
102+ * @returns {(callback: (err?: any) => void, params? : AsyncStoreParams) => any }
103103 */
104104export function initialize ( adapter : AsyncStoreAdapter = AsyncStoreAdapter . DOMAIN ) {
105105 if ( isInitialized ( ) ) {
You can’t perform that action at this time.
0 commit comments