1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/pluck.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/pluck.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 获取数组对象中某属性值,返回一个数组
|
||||
* @param array 数组
|
||||
* @param key 键
|
||||
* @example
|
||||
*/
|
||||
export declare function pluck(array: any[], key: string | number): any[];
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
pluck: typeof pluck;
|
||||
}
|
||||
}
|
||||
|
||||
export default pluck
|
||||
Reference in New Issue
Block a user