Download node_modules/@jimp/utils/index.d.ts from sweet2004/bot: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40jimp/utils/index.d.ts
- Command line
-
hf download hf://spaces/sweet2004/bot/node_modules/@jimp/utils/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40jimp/utils/index.d.ts
469 Bytes
| import { Image, Omit } from "@jimp/core"; | |
| import { ThrowStatement } from "typescript"; | |
| export function isNodePattern(cb: Function): true; | |
| export function isNodePattern(cb: Omit<any, Function>): false; | |
| export function throwError( | |
| error: string | Error, | |
| cb?: (err: Error) => void | |
| ): ThrowStatement; | |
| export function scan( | |
| image: Image, | |
| x: number, | |
| y: number, | |
| w: number, | |
| h: number, | |
| f: (image: Image, _x: number, _y: number, idx: number) => void | |
| ): Image; | |