Type alias TransferPathOf<T, K, S, NO_START, NO_START_PATH, PATH>

TransferPathOf<T, K, S, NO_START, NO_START_PATH, PATH>: NO_START_PATH extends PATH ? K : PATH

如果转换后的路径跟PathOf的路径一样,就说明该路径是对的并返回原path,否则返回PathOf所返回的类型

Type Parameters