We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed2651 commit a3d3e89Copy full SHA for a3d3e89
lib/string.ts
@@ -1,3 +1,3 @@
1
-export function stripTags(s) {
+export function stripTags(s: string): string {
2
return s.replace(RegExp('</?[^<>]*>', 'gi'), '')
3
}
0 commit comments