chore(resources): General Linting

This commit is contained in:
Taso committed 2021-06-08 12:36:10 -04:00
1 parent 457926263d
commit f1012958e2
15 files changed
+25 -34

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
// Will apply any type to source
export const getSource = () => (global as any).source;
export const getSource = (): number => (global as any).source;
// Will clean string of any character that isn't 0-9, or a-z
export const clean = (input: string) => (input ? input.replace(/[^0-9a-z]/gi, '') : input);
export const clean = (input: string): string => (input ? input.replace(/[^0-9a-z]/gi, '') : input);