Fix typed widget typing rule