Update index.d.ts (#28575)

According #28574, the FakerStatic interface must have optional parameters in the system.
This commit is contained in:
Vinicius Carvalho
2018-09-14 09:36:07 -07:00
committed by Ryan Cavanaugh
parent 6eafee412d
commit fcfdccd4c3
+2 -2
View File
@@ -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;