(message: string)
| 21 | const DEV_MODE = NODE_ENV !== "production"; |
| 22 | |
| 23 | function warnDev(message: string): void { |
| 24 | if (!DEV_MODE) return; |
| 25 | const c = (globalThis as { console?: { warn?: (msg: string) => void } }).console; |
| 26 | c?.warn?.(message); |
| 27 | } |
| 28 | |
| 29 | /** Effect cleanup function returned by effect callbacks. */ |
| 30 | export type EffectCleanup = () => void; |
no outgoing calls
no test coverage detected