Skip to content

Commit

Permalink
Add tsdocs for Utils#join()
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed Oct 13, 2021
1 parent cdd0fbf commit aa6546f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
import { StringUtils } from './utils/';

export class Utils {
/**
* Joins a string array into a string. Useful for custom Type Mappers.
*
* @param input - The string array (or string) to join.
* @param separator - A separator string to place between items.
*
* @returns The joined string.
*/
public static join(input: string | string[], separator: string): string {
return StringUtils.join(input, separator);
}
Expand Down

0 comments on commit aa6546f

Please sign in to comment.