🔎 Search Terms
readonly
🕗 Version & Regression Information
- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⏯ Playground Link
https://www.typescriptlang.org/play/?ts=6.0.0-dev.20250814#code/KYDwDg9gTgLgBASwHY2FAZgQwMbDgSSQRgUwBsEAvNOAbwFgAoASGWIApjgBbAZwC44AJWCYAJhCRkAngEEoUTNIA8SAK7cARmgB8ASkGaIEMqKQBuJgF8mTUJFhxsZTL15wAoiEzcwpxL6m3MAo7oTEpBTUUHRMzGBqmhTYiEQwnKh8gupaaADaALp6sSysmbx5AAwFcAC8cACMloxxzFDAMGpQSHAwUGrAzcw2jCNAA
💻 Code
🙁 Actual behavior
Is this a bug? we have readonly in the interface method
🙂 Expected behavior
you cannot type the method without readonly
Additional information about the issue
No response
🔎 Search Terms
readonly
🕗 Version & Regression Information
⏯ Playground Link
https://www.typescriptlang.org/play/?ts=6.0.0-dev.20250814#code/KYDwDg9gTgLgBASwHY2FAZgQwMbDgSSQRgUwBsEAvNOAbwFgAoASGWIApjgBbAZwC44AJWCYAJhCRkAngEEoUTNIA8SAK7cARmgB8ASkGaIEMqKQBuJgF8mTUJFhxsZTL15wAoiEzcwpxL6m3MAo7oTEpBTUUHRMzGBqmhTYiEQwnKh8gupaaADaALp6sSysmbx5AAwFcAC8cACMloxxzFDAMGpQSHAwUGrAzcw2jCNAA
💻 Code
// Your code here🙁 Actual behavior
Is this a bug? we have readonly in the interface method
🙂 Expected behavior
you cannot type the method without readonly
Additional information about the issue
No response