mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
5 lines
214 B
TypeScript
5 lines
214 B
TypeScript
import React from 'react';
|
|
|
|
// Fixes bug with useMemo + generic types:
|
|
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/37087#issuecomment-542793243
|
|
export const typedMemo: <T>(c: T) => T = React.memo;
|