accept null in typed literal