define the node unit typescript interface