Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 3, 2023
1 parent b9c160f commit 7eb772b
Show file tree
Hide file tree
Showing 25 changed files with 24 additions and 29 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

2 changes: 1 addition & 1 deletion base/code-point-at/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* str = codePointAt( '🌷', 1, true );
* // returns 127799
*/
declare function codePointAt( str: string, idx: number, backward: boolean ): number; // tslint:disable-line:max-line-length
declare function codePointAt( str: string, idx: number, backward: boolean ): number;


// EXPORTS //
Expand Down
3 changes: 1 addition & 2 deletions base/distances/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import levenshteinDistance = require( './../../../../base/distances/levenshtein' );

Expand Down
3 changes: 1 addition & 2 deletions base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import camelcase = require( './../../../base/camelcase' );
import capitalize = require( './../../../base/capitalize' );
Expand Down
2 changes: 1 addition & 1 deletion base/format-interpolate/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type StringOrToken = string | FormatIdentifier;
* var out = formatInterpolate( tokens, 'boop' );
* // returns 'beep boop'
*/
declare function formatInterpolate( tokens: Array<StringOrToken>, ...args: Array<any> ): string; // tslint:disable-line:max-line-length
declare function formatInterpolate( tokens: Array<StringOrToken>, ...args: Array<any> ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion base/replace-before/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* var out = replaceBefore( 'Hello World!', 'xyz', 'foo' );
* // returns 'Hello World!'
*/
declare function replaceBefore( str: string, search: string, replacement: string ): string; // tslint:disable-line:max-line-length
declare function replaceBefore( str: string, search: string, replacement: string ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion base/replace/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* var out = replace( str, /([^\s]*)/gi, replacer);
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
*/
declare function repeat( str: string, search: RegExp, newval: string | Function ): string; // tslint:disable-line:max-line-length
declare function repeat( str: string, search: RegExp, newval: string | Function ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion base/starts-with/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* var bool = startsWith( 'To be, or not to be, that is the question.', 'quest', -9 );
* // returns true
*/
declare function startsWith( str: string, search: string, position: number ): boolean; // tslint:disable-line:max-line-length
declare function startsWith( str: string, search: string, position: number ): boolean;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion code-point-at/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* str = codePointAt( '🌷', 1, true );
* // returns 127799
*/
declare function codePointAt( str: string, idx: number, backward?: boolean ): number; // tslint:disable-line:max-line-length
declare function codePointAt( str: string, idx: number, backward?: boolean ): number;


// EXPORTS //
Expand Down
3 changes: 1 addition & 2 deletions docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import acronym = require( './../../acronym' );
import base = require( './../../base' );
Expand Down
2 changes: 1 addition & 1 deletion ends-with/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* var bool = endsWith( 'To be, or not to be, that is the question.', 'to be', -23 );
* // returns true
*/
declare function endsWith( str: string, search: string, len?: number ): boolean; // tslint:disable-line:max-line-length
declare function endsWith( str: string, search: string, len?: number ): boolean;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion left-trim-n/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* var out = ltrimN( str, str.length, '👨🏼‍🎨🤖' );
* // returns ''
*/
declare function ltrimN( str: string, n: number, chars?: string | Array<string> ): string; // tslint:disable-line:max-line-length
declare function ltrimN( str: string, n: number, chars?: string | Array<string> ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion next-grapheme-cluster-break/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* out = nextGraphemeClusterBreak( '🌷' );
* // returns -1
*/
declare function nextGraphemeClusterBreak( str: string, fromIndex?: number ): number; // tslint:disable-line:max-line-length
declare function nextGraphemeClusterBreak( str: string, fromIndex?: number ): number;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion prev-grapheme-cluster-break/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* out = prevGraphemeClusterBreak( '🌷', 1 );
* // returns -1
*/
declare function prevGraphemeClusterBreak( str: string, fromIndex?: number ): number; // tslint:disable-line:max-line-length
declare function prevGraphemeClusterBreak( str: string, fromIndex?: number ): number;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion remove-words/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* var out = removeWords( str, [ 'boop', 'foo' ], true );
* // returns 'beep bar'
*/
declare function removeWords( str: string, words: Array<string>, ignoreCase?: boolean ): string; // tslint-disable-line max-line-length
declare function removeWords( str: string, words: Array<string>, ignoreCase?: boolean ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion replace-before/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* var out = replaceBefore( 'Hello World!', 'xyz', 'foo' );
* // returns 'Hello World!'
*/
declare function replaceBefore( str: string, search: string, replacement: string ): string; // tslint:disable-line:max-line-length
declare function replaceBefore( str: string, search: string, replacement: string ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion replace/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* var out = replace( str, /([^\s]*)/gi, replacer);
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
*/
declare function repeat( str: string, search: string | RegExp, newval: string | Function ): string; // tslint:disable-line:max-line-length
declare function repeat( str: string, search: string | RegExp, newval: string | Function ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion right-trim-n/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* var out = rtrimN( str, str.length, '👨🏼‍🎨🤖' );
* // returns ''
*/
declare function rtrimN( str: string, n: number, chars?: string | Array<string> ): string; // tslint:disable-line:max-line-length
declare function rtrimN( str: string, n: number, chars?: string | Array<string> ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion starts-with/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* var bool = startsWith( 'To be, or not to be, that is the question.', 'quest', -9 );
* // returns true
*/
declare function startsWith( str: string, search: string, position?: number ): boolean; // tslint:disable-line:max-line-length
declare function startsWith( str: string, search: string, position?: number ): boolean;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion substring-after-last/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* var out = substringAfterLast( 'beep boop baz', 'p b', 6 );
* // returns 'oop baz'
*/
declare function substringAfterLast( str: string, search: string, fromIndex?: number ): string; // tslint:disable-line:max-line-length
declare function substringAfterLast( str: string, search: string, fromIndex?: number ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion substring-after/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* var out = substringAfter( 'beep boop beep baz', 'beep', 5 );
* // returns ' baz'
*/
declare function substringAfter( str: string, search: string, fromIndex?: number ): string; // tslint:disable-line:max-line-length
declare function substringAfter( str: string, search: string, fromIndex?: number ): string;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion to-grapheme-cluster-iterator-right/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary;
* var bool = iter.next().done;
* // returns true
*/
declare function graphemeClusters2iteratorRight( src: string, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
declare function graphemeClusters2iteratorRight( src: string, mapFcn?: MapFunction, thisArg?: any ): Iterator;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion to-grapheme-cluster-iterator/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary;
* var bool = iter.next().done;
* // returns true
*/
declare function graphemeClusters2iterator( src: string, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
declare function graphemeClusters2iterator( src: string, mapFcn?: MapFunction, thisArg?: any ): Iterator;


// EXPORTS //
Expand Down
3 changes: 1 addition & 2 deletions tools/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import grapheme = require( './../../../tools/grapheme-cluster-break' );

Expand Down
2 changes: 1 addition & 1 deletion truncate-middle/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* var out = truncateMiddle( str, 7 );
* // returns '🐺 ... 🐺'
*/
declare function truncateMiddle( str: string, len: number, seq?: string ): string; // tslint-disable-line max-line-length
declare function truncateMiddle( str: string, len: number, seq?: string ): string;


// EXPORTS //
Expand Down

0 comments on commit 7eb772b

Please sign in to comment.