Skip to content

Commit a3d3e89

Browse files
committed
lint: lib/string.ts
add typing annotate
1 parent 0ed2651 commit a3d3e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export function stripTags(s) {
1+
export function stripTags(s: string): string {
22
return s.replace(RegExp('</?[^<>]*>', 'gi'), '')
33
}

0 commit comments

Comments
 (0)