davstack
davstack copied to clipboard
Make the use() return a readonly value
The use() function currently allows its return value to be changed, which could result in improper updates.
To avoid this, the use() function should return a value that cannot be altered, ensuring it's not mistakenly updated.
We can implement this by following the Readonly type from type-fest or simply using the library.
Good idea, thought of it too +1