1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/slice.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/slice.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* slice ( array, start, end ) 裁剪 Arguments 或数组 array,从 start 位置开始到 end 结束,但不包括 end 本身的位置
|
||||
* @param array 对象
|
||||
* @param start 迭代器/属性
|
||||
* @param end 上下文
|
||||
*/
|
||||
export declare function slice<T>(array: T[], start: number, end?: number): T[];
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
slice: typeof slice;
|
||||
}
|
||||
}
|
||||
|
||||
export default slice
|
||||
Reference in New Issue
Block a user