mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
ref(eslint) Use new TypeScript ESlint config (#12143)
Use new TS config from @jitsi/eslint Fix all lint errors
This commit is contained in:
@@ -67,7 +67,7 @@ class GoogleAnalyticsHandler extends AbstractHandler {
|
||||
* @private
|
||||
*/
|
||||
_extractValue(event: IEvent) {
|
||||
let value: string|number|undefined = event && event.attributes && event.attributes.value;
|
||||
let value: string | number | undefined = event?.attributes?.value;
|
||||
|
||||
// Try to extract an integer from the "value" attribute.
|
||||
value = Math.round(parseFloat(value ?? ''));
|
||||
|
||||
Reference in New Issue
Block a user