fix mockjs.Random.string()

mockjs.Random.string() can be called without arguments.
This commit is contained in:
bangbang93
2018-07-05 11:28:59 +08:00
committed by GitHub
parent ade7469111
commit 4ab95bd255
+1 -1
View File
@@ -58,7 +58,7 @@ declare namespace mockjs {
character(pool?: S): S;
// Random.string
string(pool: S | N, min?: N, max?: N): S;
string(pool?: S | N, min?: N, max?: N): S;
// Random.range
range(start?: N, stop?: N, step?: N): N;