My code structure includes:
position.utils.ts
enum PositionDirectionEnum {
LEFT, RIGHT, TOP, BOTTOM, AUTO
}
export class PositionUtil {
public static PositionDirection: PositionDirectionEnum
}
utils.ts
import { PositionUtil } from "./position.util";
export class Utils {
public static Position: PositionUtil = PositionUtil;
}
I would like to implement it in the following way:
Utils.Position.PositionDirection.LEFT
Do you think this approach will work?