@zelgadis87/utils-core 5.1.3 → 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@zelgadis87/utils-core",
4
- "version": "5.1.3",
4
+ "version": "5.1.4",
5
5
  "author": "Zelgadis87",
6
6
  "license": "ISC",
7
7
  "private": false,
@@ -86,9 +86,9 @@ export function isNullOrUndefinedOrEmpty( source: TMaybe<string> ): boolean {
86
86
  }
87
87
 
88
88
 
89
- export default function wrapWithString( str: string, delimiter: string ): string;
90
- export default function wrapWithString( str: string, start: string, end: string ): string;
91
- export default function wrapWithString( str: string, start: string, end = start ): string {
89
+ export function wrapWithString( str: string, delimiter: string ): string;
90
+ export function wrapWithString( str: string, start: string, end: string ): string;
91
+ export function wrapWithString( str: string, start: string, end = start ): string {
92
92
  if ( isNullOrUndefinedOrEmpty( str ) )
93
93
  throw new Error( `Expected string to be non-empty, got: "${str}"` );
94
94
  if ( isNullOrUndefinedOrEmpty( start ) )