mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-26 23:06:03 +08:00
7 lines
186 B
TypeScript
7 lines
186 B
TypeScript
declare module 'use-subscription' {
|
|
export function useSubscription<T>(options: {
|
|
getCurrentValue: () => T;
|
|
subscribe: (callback: (value: T) => void) => () => void;
|
|
}): T;
|
|
}
|