mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 14:36:02 +08:00
Key should be a string - Yukine
This commit is contained in:
4
types/snekfetch/index.d.ts
vendored
4
types/snekfetch/index.d.ts
vendored
@@ -110,9 +110,9 @@ declare class Snekfetch extends Readable {
|
||||
static unlock(url: string, opts?: Snekfetch.SnekfetchOptions): Snekfetch;
|
||||
static unsubscribe(url: string, opts?: Snekfetch.SnekfetchOptions): Snekfetch;
|
||||
|
||||
query(name: string | object, value?: string): Snekfetch;
|
||||
query(name: string | { [key: string]: any }, value?: string): Snekfetch;
|
||||
|
||||
set(name: string | object, value?: string): Snekfetch;
|
||||
set(name: string | { [key: string]: any }, value?: string): Snekfetch;
|
||||
|
||||
attach(name: string, data: string | object | Buffer, filename?: string): Snekfetch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user