Fix tslint issue

This commit is contained in:
Abdessamad MOUHASSINE
2017-11-25 13:07:40 +00:00
committed by GitHub
parent f0795a3470
commit e6862574f9

View File

@@ -13,9 +13,9 @@ declare function typeIs(request: IncomingMessage, types: string[]): string | fal
declare function typeIs(request: IncomingMessage, ...types: string[]): string | false | null;
declare namespace typeIs {
function normalize (type: string): string | false;
function normalize(type: string): string | false;
function hasBody(request: IncomingMessage): boolean;
function is(mediaType: string, types: string[]): string | false;
function is(mediaType: string, ...types: string[]): string | false;
function mimeMatch (expected: false | string, actual: string): boolean;
function mimeMatch(expected: false | string, actual: string): boolean;
}