Skip to content

Commit d5dfbfc

Browse files
committed
remove type comments
1 parent eda19a2 commit d5dfbfc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/util.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ export function expandPath(input: string): string {
123123

124124
/**
125125
* Return the number of times a substring appears in a string.
126-
* @param needle string
127-
* @param haystack string
128-
* @returns number
129126
*/
130127
export function countSubstring(needle: string, haystack: string): number {
131128
if (needle.length < 1 || haystack.length < 1) {

0 commit comments

Comments
 (0)