16 lines
484 B
TypeScript
16 lines
484 B
TypeScript
/**
|
|
Updates the array in place by incrementing each value greater than or equal to the threshold.
|
|
@param {Array<number>} arr
|
|
@param {number} threshold
|
|
*/
|
|
export function incrementIfAtLeast(arr: Array<number>, threshold: number): void;
|
|
export const noncapturingDelim: any;
|
|
/**
|
|
@param {string} str
|
|
@param {number} pos
|
|
@param {string} oldValue
|
|
@param {string} newValue
|
|
@returns {string}
|
|
*/
|
|
export function spliceStr(str: string, pos: number, oldValue: string, newValue: string): string;
|