Made compatible with TS 0.9

fixes error TS1015: Parameter cannot have question mark and initializer