Skip to content

Commit

Permalink
Remove rest of JSDoc from str.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jun 23, 2023
1 parent 13dce53 commit 1f5354f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/str.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ declare const Str: {
* Uppercases the first letter of each word
* via https://github.com/kvz/phpjs/blob/master/functions/strings/ucwords.js
*
* @param {String} str to uppercase words
* @param str to uppercase words
* @returns Uppercase worded string
*/
ucwords(str: string): string;
Expand Down Expand Up @@ -375,7 +375,7 @@ declare const Str: {
compare(string1: string, string2: string): 1 | 0 | -1;
/**
* Check if a file extension is supported by SmartReports
* @param {String} filename
* @param filename
*/
isFileExtensionSmartReportsValid(filename: string): boolean;
/**
Expand All @@ -387,27 +387,27 @@ declare const Str: {
/**
* Checks if something is a string
* Stolen from underscore
* @param {Mixed} obj
* @param obj
*/
isString(obj: unknown): boolean;
/**
* Checks if something is a number
* Stolen from underscore
* @param {Mixed} obj
* @param obj
*/
isNumber(obj: unknown): boolean;
/**
* Checks if something is a certain type
* Stolen from underscore
* @param {Mixed} obj
* @param {String} type one of ['Arguments', 'Function', 'String', 'Number', 'Date',
* @param obj
* @param type one of ['Arguments', 'Function', 'String', 'Number', 'Date',
* 'RegExp', 'Error', 'Symbol', 'Map', 'WeakMap', 'Set', 'WeakSet']
*/
isTypeOf(obj: unknown, type: 'Arguments' | 'Function' | 'String' | 'Number' | 'Date' | 'RegExp' | 'Error' | 'Symbol' | 'Map' | 'WeakMap' | 'Set' | 'WeakSet'): boolean;
/**
* Checks to see if something is undefined
* Stolen from underscore
* @param {Mixed} obj
* @param obj
*/
isUndefined(obj: unknown): boolean;
/**
Expand Down

0 comments on commit 1f5354f

Please sign in to comment.