From 7886cf621ac3142c4c2e6d0ed204e09c97c0cb1a Mon Sep 17 00:00:00 2001 From: Shayne Hartford Date: Tue, 5 Jun 2018 16:33:09 -0400 Subject: [PATCH] Key should be a string - Yukine --- types/snekfetch/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/snekfetch/index.d.ts b/types/snekfetch/index.d.ts index ecaf995d8f..4885656a98 100644 --- a/types/snekfetch/index.d.ts +++ b/types/snekfetch/index.d.ts @@ -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;