仪表盘
版本库
文件存储
活动
搜索
登录
main
/
wgcloud
WGCloud
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
初始化代码
13693261870
2024-09-02
7d1535b74b9c27411bc45b695675b335c30f3c3a
[wgcloud.git]
/
wgcloud-server
/
src
/
main
/
resources
/
static
/
AdminLTE
/
plugins
/
filterizr
/
utils
/
checkOptionForErrors.d.ts
1
2
3
4
5
6
7
8
9
/**
* Error checking method to restrict a prop to some allowed values
* @param {String} name of the option key in the options object
* @param {String|Number|Object|Function|Array|Boolean} value of the option
* @param {String} type of the property
* @param {Array} allowed accepted values for option
* @param {String} furtherHelpLink a link to docs for further help
*/
export declare const checkOptionForErrors: (name: string, value: string | number | boolean | object | Function | any[], type?: string, allowed?: RegExp | any[], furtherHelpLink?: string) => void;