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:
committed by
Mrugesh Mohapatra
parent
aec4ba2035
commit
a442d611c4
@ -1,5 +0,0 @@
|
||||
const analytics = {
|
||||
event: () => {}
|
||||
};
|
||||
|
||||
export default analytics;
|
7
client/src/analytics/__mocks__/index.tsx
Normal file
7
client/src/analytics/__mocks__/index.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
const analytics = {
|
||||
event: function (): void {
|
||||
// comment necessary for linting.
|
||||
}
|
||||
};
|
||||
|
||||
export default analytics;
|
Reference in New Issue
Block a user