Reproduction
Steps to reproduce the bug
In the function definition within the file "pinia/packages/pinia/src/storeToRefs.ts", if the property value of the object rawStore obtained from const rawStore = toRaw(store) might be null, an error will occur.


Expected behavior
When the final computed value of rawStore is { projectId: null, name: null }, the program can execute normally.
Actual behavior

Additional information
No response