mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-02 22:31:31 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2025 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { sample } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
|
||||
import { AvatarColors } from '../types/Colors.js';
|
||||
import type { GroupCallRemoteParticipantType } from '../types/Calling.js';
|
||||
@@ -9,6 +9,8 @@ import { generateAci } from '../types/ServiceId.js';
|
||||
|
||||
import { getDefaultConversationWithServiceId } from './getDefaultConversation.js';
|
||||
|
||||
const { sample } = lodash;
|
||||
|
||||
export function createCallParticipant(
|
||||
participantProps: Partial<GroupCallRemoteParticipantType>
|
||||
): GroupCallRemoteParticipantType {
|
||||
|
||||
Reference in New Issue
Block a user