Type instantiation is excessively deep and possibly infinite

I have a set of event validators within a scope defined as below.

Once I add enough, I get the error "Type instantiation is excessively deep and possibly infinite".
In the code below, remove "y" from the event key and the error will go away.

Is this expected behavior? Do I need to just define these differently?

export const test = scope({
    event: "a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y",
    a: {
        type: "'a'",
        content: "null",
    },
    b: {
        type: "'b'",
        content: "null",
    },
    c: {
        type: "'c'",
        content: "null",
    },
    d: {
        type: "'d'",
        content: "null",
    },
    e: {
        type: "'e'",
        content: "null",
    },
    f: {
        type: "'f'",
        content: "null",
    },
    g: {
        type: "'g'",
        content: "null",
    },
    h: {
        type: "'h'",
        content: "null",
    },
    i: {
        type: "'i'",
        content: "null",
    },
    j: {
        type: "'j'",
        content: "null",
    },
    k: {
        type: "'k'",
        content: "null",
    },
    l: {
        type: "'l'",
        content: "null",
    },
    m: {
        type: "'m'",
        content: "null",
    },
    n: {
        type: "'n'",
        content: "null",
    },
    o: {
        type: "'o'",
        content: "null",
    },
    p: {
        type: "'p'",
        content: "null",
    },
    q: {
        type: "'q'",
        content: "null",
    },
    r: {
        type: "'r'",
        content: "null",
    },
    s: {
        type: "'s'",
        content: "null",
    },
    t: {
        type: "'t'",
        content: "null",
    },
    u: {
        type: "'u'",
        content: "null",
    },
    v: {
        type: "'v'",
        content: "null",
    },
    w: {
        type: "'w'",
        content: "null",
    },
    x: {
        type: "'x'",
        content: "null",
    },
    y: {
        type: "'y'",
        content: "null",
    },
}).export()
Was this page helpful?