mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
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;
|
||||
@@ -0,0 +1,7 @@
|
||||
const analytics = {
|
||||
event: function (): void {
|
||||
// comment necessary for linting.
|
||||
}
|
||||
};
|
||||
|
||||
export default analytics;
|
||||
Reference in New Issue
Block a user