From 7a52ddeba2a68388b544f529d2d92104420f77b0 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Fri, 31 Oct 2025 20:02:14 +0000 Subject: Changed from static to 11ty! --- node_modules/liquidjs/dist/util/underscore.d.ts | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 node_modules/liquidjs/dist/util/underscore.d.ts (limited to 'node_modules/liquidjs/dist/util/underscore.d.ts') diff --git a/node_modules/liquidjs/dist/util/underscore.d.ts b/node_modules/liquidjs/dist/util/underscore.d.ts new file mode 100644 index 0000000..c54f852 --- /dev/null +++ b/node_modules/liquidjs/dist/util/underscore.d.ts @@ -0,0 +1,40 @@ +export declare const toString: () => string; +export declare const hasOwnProperty: (v: PropertyKey) => boolean; +export declare function isString(value: any): value is string; +export declare function isFunction(value: any): value is Function; +export declare function isPromise(val: any): val is Promise; +export declare function isIterator(val: any): val is IterableIterator; +export declare function escapeRegex(str: string): string; +export declare function promisify(fn: (arg1: T1, cb: (err: Error | null, result: T2) => void) => void): (arg1: T1) => Promise; +export declare function promisify(fn: (arg1: T1, arg2: T2, cb: (err: Error | null, result: T3) => void) => void): (arg1: T1, arg2: T2) => Promise; +export declare function stringify(value: any): string; +export declare function toEnumerable(val: any): T[]; +export declare function toArray(val: any): any[]; +export declare function toValue(value: any): any; +export declare function toNumber(value: any): number; +export declare function isNumber(value: any): value is number; +export declare function toLiquid(value: any): any; +export declare function isNil(value: any): boolean; +export declare function isUndefined(value: any): boolean; +export declare function isArray(value: any): value is any[]; +export declare function isArrayLike(value: any): value is any[]; +export declare function isIterable(value: any): value is Iterable; +export declare function forOwn(obj: Record | undefined, iteratee: ((val: T, key: string, obj: { + [key: string]: T; +}) => boolean | void)): Record; +export declare function last(arr: T[]): T; +export declare function last(arr: string): string; +export declare function isObject(value: any): value is object; +export declare function range(start: number, stop: number, step?: number): number[]; +export declare function padStart(str: any, length: number, ch?: string): any; +export declare function padEnd(str: any, length: number, ch?: string): any; +export declare function pad(str: any, length: number, ch: string, add: (str: string, ch: string) => string): any; +export declare function identify(val: T): T; +export declare function changeCase(str: string): string; +export declare function ellipsis(str: string, N: number): string; +export declare function caseInsensitiveCompare(a: any, b: any): 0 | 1 | -1; +export declare function argumentsToValue any, T>(fn: F): (this: T, ...args: Parameters) => any; +export declare function argumentsToNumber any, T>(fn: F): (this: T, ...args: Parameters) => any; +export declare function escapeRegExp(text: string): string; +/** Return an array containing unique elements from _array_. Works with nested arrays and objects. */ +export declare function strictUniq(array: Array): Generator; -- cgit v1.2.3