Fixed typings

This commit is contained in:
squidfunk 2021-12-05 11:49:19 +01:00
parent ba7a227800
commit 4dd7cb364a

View File

@ -66,7 +66,7 @@ declare global {
* @return Value or nothing * @return Value or nothing
*/ */
function __md_get<T>( function __md_get<T>(
key: string, storage?: Storage, base?: string key: string, storage?: Storage, base?: URL
): T | null ): T | null
/** /**
@ -83,7 +83,7 @@ declare global {
* @param base - Base URL (default: current base) * @param base - Base URL (default: current base)
*/ */
function __md_set<T>( function __md_set<T>(
key: string, value: T, storage?: Storage, base?: string key: string, value: T, storage?: Storage, base?: URL
): void ): void
} }