公告板
版本库
filestore
活动
搜索
登录
孔德强
/
tssw
唐山税务局运维
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
“第一次提交”
付延余
2022-12-16
f0f8ee8c4a945adbc742d9bab69382b28ad311fb
[~kongdeqiang/tssw.git]
/
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;