ACE Typescript Type Declarations

Hi @jhazelwood ,

I have found a bug in interface StoreAdapter.
I have created a new post because I didn’t know this post.
The post is: https://community.developer.atlassian.com/t/wrong-definition-interface-storeadapter/49122
Basically set function definition is wrong:

interface StoreAdapter {
    del(key: string, clientKey: string): Promise<void>;
    get(key: string, clientKey: string): Promise<any>;
    set(key: string, clientKey: string): Promise<any>;  // Wrong it should be: set(key: string, value: any, clientKey: string): Promise<any>; 
}

Thanks,
Julian

1 Like