Skip to content

Commit fb7fccb

Browse files
committed
added missing QPixelStorage#get overloads
1 parent b6ac8f3 commit fb7fccb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

global.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ interface QPixelStorage {
9595
* @param options optional configuration
9696
*/
9797
get(key: string, options: Omit<QPixelStorageGetOptions, 'parse'> & { parse: true }): object | null;
98+
get(key: string, options: Omit<QPixelStorageGetOptions, 'parse'> & { parse: false }): string | null;
99+
get(key: string): string | null;
98100
get(key: string, options?: QPixelStorageGetOptions): unknown;
99101
/**
100102
* Removes a value from storage by a given key

0 commit comments

Comments
 (0)