feat(client): ts-migrate /client/src/analytics (#42457)

* migrate to ts

* fix empty function for linting

* add function return type

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
This commit is contained in:
Parth Parth
2021-06-25 20:12:01 +05:30
committed by Mrugesh Mohapatra
parent aec4ba2035
commit a442d611c4
3 changed files with 7 additions and 5 deletions

View File

@ -1,5 +0,0 @@
const analytics = {
event: () => {}
};
export default analytics;

View File

@ -0,0 +1,7 @@
const analytics = {
event: function (): void {
// comment necessary for linting.
}
};
export default analytics;