結果 : typescript if typeof interface