仪表盘
版本库
文件存储
活动
搜索
登录
main
/
se-wgcloud
航天五院-运维监控系统
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
初始化项目-2
13693261870
2024-08-16
7efa8af608c37abf09b817bda0f2f5e216ec6e0e
[se-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;