mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
5 lines
282 B
TypeScript
5 lines
282 B
TypeScript
import { Cookie, CookieSetOptions } from 'universal-cookie';
|
|
export default function useCookies<T extends string, U = {
|
|
[K in T]?: any;
|
|
}>(dependencies?: T[]): [U, (name: T, value: Cookie, options?: CookieSetOptions) => void, (name: T, options?: CookieSetOptions) => void];
|