I have a function with a signature
const updateMatrix = (m: number) => (i: number, j: number, value: number): void => {
However, I need to re-use the second function's signature in other parts of my code, so I set it to a type.
export type SetMatrixValue = (i: number, j: number, value: number) => void
How can I set the type of my updateMatrix function to match that of the SetMatrix Value type?