type AcceptedClass = "one" | "two" | "three";
type ClassNameType = `${AcceptedClass} ${ClassNameType}`;
const className: ClassNameType = "one two three";
const className2: ClassNameType = "two one three one three";
const className3: ClassNameType = "three";
const className4: ClassNameType = "three one two three one two";
Trying to define a type similar to the code snippet above, But encountering an error
Type alias 'ClassNameType' is circularly referencing itself.ts(2456)
Is it not feasible to create these types in TypeScript?