Don't forget to cleanup in-memory sticker pack

This commit is contained in:
Fedor Indutny 2021-07-29 11:59:26 -07:00 committed by GitHub
parent d4a30a0165
commit 93f60ee5a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 9 deletions

View file

@ -390,7 +390,7 @@ export type DataInterface = {
deleteStickerPackReference: (
messageId: string,
packId: string
) => Promise<Array<string>>;
) => Promise<ReadonlyArray<string> | undefined>;
getStickerCount: () => Promise<number>;
deleteStickerPack: (packId: string) => Promise<Array<string>>;
getAllStickerPacks: () => Promise<Array<StickerPackType>>;