結果 : typescript check if string is custom type