mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 11:28:08 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -6,12 +6,14 @@ import {
|
||||
type VirtualItem,
|
||||
type Virtualizer,
|
||||
} from '@tanstack/react-virtual';
|
||||
import { chunk, groupBy } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import type { RefObject } from 'react';
|
||||
import { useCallback, useMemo } from 'react';
|
||||
import { strictAssert } from '../../../util/assert.js';
|
||||
import { missingCaseError } from '../../../util/missingCaseError.js';
|
||||
|
||||
const { chunk, groupBy } = lodash;
|
||||
|
||||
export type SectionKey = `section-${string}`;
|
||||
export type HeaderKey = `header-${string}`;
|
||||
export type RowKey = `row-${string}`;
|
||||
|
||||
Reference in New Issue
Block a user