| 1 | import { FC, PropsWithChildren, createContext, useContext, useState } from "react"; |
| 2 | |
| 3 | interface CounterContext { |
| 4 | aaa: number; |
| 5 | bbb: number; |
| 6 | setAaa: (aaa: number) => void; |
| 7 | setBbb: (bbb: number) => void; |
| 8 | } |
| 9 | |
| 10 | const context = createContext<CounterContext>({ |
| 11 | aaa: 0, |
nothing calls this directly
no outgoing calls
no test coverage detected