From 0a487b74a22e90d37d181b65b420db9de398d24e Mon Sep 17 00:00:00 2001 From: segayuu Date: Mon, 30 Oct 2017 11:43:07 +0900 Subject: [PATCH] cleanup lint error: array-type --- types/request/index.d.ts | 4 ++-- types/request/tslint.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/request/index.d.ts b/types/request/index.d.ts index 41fcdd1b0f..6162f92fd8 100644 --- a/types/request/index.d.ts +++ b/types/request/index.d.ts @@ -220,10 +220,10 @@ declare namespace request { export interface Multipart { chunked?: boolean; - data?: { + data?: Array<{ 'content-type'?: string, body: string - }[]; + }>; } export interface RequestPart { diff --git a/types/request/tslint.json b/types/request/tslint.json index 34c2b940f3..f15db70fa2 100644 --- a/types/request/tslint.json +++ b/types/request/tslint.json @@ -1,7 +1,6 @@ { "extends": "dtslint/dt.json", "rules": { - "array-type": false, "ban-types": false, "callable-types": false, "no-consecutive-blank-lines": false,