From fcfdccd4c31783fc81adec839312125c30bdb636 Mon Sep 17 00:00:00 2001 From: Vinicius Carvalho Date: Fri, 14 Sep 2018 13:36:07 -0300 Subject: [PATCH] Update index.d.ts (#28575) According #28574, the FakerStatic interface must have optional parameters in the system. --- types/faker/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/faker/index.d.ts b/types/faker/index.d.ts index 248a0ba96c..a9d044cfcb 100644 --- a/types/faker/index.d.ts +++ b/types/faker/index.d.ts @@ -201,8 +201,8 @@ declare namespace Faker { }; system: { - fileName(ext: string, type: string): string; - commonFileName(ext: string, type: string): string; + fileName(ext?: string, type?: string): string; + commonFileName(ext: string, type?: string): string; mimeType(): string; commonFileType(): string; commonFileExt(): string;