score:0

You can use the definite assignment operator ! which tells the compiler the fields will get initialized in some other way

selfRef! :HTMLSpanElement;

Related Query

More Query from same tag