Converts a DepTypeLike value to a DepType.
The value to convert, which can be a string, number, or bigint.
The corresponding DepType.
Will throw an error if the input value is not a valid dep type.
const depType = depTypeFrom(1); // Outputs "code"const depType = depTypeFrom("depGroup"); // Outputs "depGroup" Copy
const depType = depTypeFrom(1); // Outputs "code"const depType = depTypeFrom("depGroup"); // Outputs "depGroup"
Converts a DepTypeLike value to a DepType.