Skip to content

Commit 6791244

Browse files
committed
lint: lib/string.ts
add typing annotate Signed-off-by: Raccoon <raccoon@hackmd.io>
1 parent 34fca31 commit 6791244

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)