UNPKG

vike

Version:

(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.

4 lines (3 loc) • 189 B
export { slice }; declare function slice<Element, T extends Array<Element>>(thing: T, from: number, to: number): T; declare function slice(thing: string, from: number, to: number): string;