In the else branch, narrowed type is any and testProp type is any . WebStorm seems to treat Partial<Record<K, V>> as any which is not what TypeScript does. I ...
確定! 回上一頁