結果 : typescript type function or null