This document is moved to https://blog.iwate.me/typescriptで型からプロパティ名をとりたいけど/