mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -12,8 +12,8 @@ import { FRAME_BUFFER_SIZE } from './constants.std.js';
|
||||
* of allocating one per participant. Be careful when using this buffer elsewhere, as it
|
||||
* is not cleaned up and may hold stale data.
|
||||
*/
|
||||
export function useGetCallingFrameBuffer(): () => Uint8Array {
|
||||
const ref = useRef<Uint8Array | null>(null);
|
||||
export function useGetCallingFrameBuffer(): () => Uint8Array<ArrayBuffer> {
|
||||
const ref = useRef<Uint8Array<ArrayBuffer> | null>(null);
|
||||
|
||||
return useCallback(() => {
|
||||
if (!ref.current) {
|
||||
|
||||
Reference in New Issue
Block a user