Repository URL to install this package:
|
Version:
0.0.6 ▾
|
export interface Config extends Map<string, any> {
// get(key: ''): vvv
// set(key: '', value: vvv): this
get(key: 'cookie'): string
set(key: 'cookie', value: string): this
get(key: 'cookies'): string[]
set(key: 'cookies', value: string[]): this
get(key: 'cookiesIndexed'): { [key: string]: string }
set(key: 'cookiesIndexed', value: { [key: string]: string }): this
}
export const config: Config = new Map()
config.set('cookie', '').set('cookies', [])