feat(transpiler): implement optional params

Closes #6