enum YY { H = "C", B = "Y" } interface X { type: "", c: YY.B } class X { static async x(); }