将提供默认值的参数改为可选

This commit is contained in:
YXL
2020-09-13 12:57:33 +08:00
parent 19f71cfd62
commit 92612bc4fe
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { RequestBaseConfig } from './base'
export interface CloudSearchRequestConfig extends RequestBaseConfig {
keywords: string
type: 1 | 10 | 100 | 1000 | 1002 | 1004 | 1006 | 1009 | 1014
type?: 1 | 10 | 100 | 1000 | 1002 | 1004 | 1006 | 1009 | 1014
limit?: string | number
offset?: string | number
}