(kind: K, data: T[K])
| 16 | } |
| 17 | |
| 18 | export function msg<T, K extends keyof T>(kind: K, data: T[K]): UnionMember<T, K> { |
| 19 | return {kind, data} |
| 20 | } |
| 21 | |
| 22 | export const ANSI_RESET = '\x1b[0m' |
| 23 | export const ANSI_BOLD = '\x1b[1m' |
no outgoing calls
no test coverage detected