We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type TreeNode = { name:string } const authNameMap: Record<number, TreeNode> = {}; const a = authNameMap[1].name
https://www.typescriptlang.org/play?#code/C4TwDgpgBAKgThCA5A9gE2gXigbwFAB2AhgLYQBcAzsHAJYEDmeAvlHu3gMYoHVREBXYAAskpCAFkiYclABKEbnDQAeAgJIAjCHAA0sBMnQQAfFGw5mAbnbdewfuf5DR4qWADaARgC6AOmIyPCA
// Your code here
ts Verification passed
ts Verification not passed
The text was updated successfully, but these errors were encountered:
This is working as intended. This is what the noUncheckedIndexedAccess compiler option was added for. When you enable it the code will error.
Please make sure to fill out the issue template completely.
Sorry, something went wrong.
This issue has been marked as "Working as Intended" and has seen no recent activity. It has been automatically closed for house-keeping purposes.
No branches or pull requests
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
https://www.typescriptlang.org/play?#code/C4TwDgpgBAKgThCA5A9gE2gXigbwFAB2AhgLYQBcAzsHAJYEDmeAvlHu3gMYoHVREBXYAAskpCAFkiYclABKEbnDQAeAgJIAjCHAA0sBMnQQAfFGw5mAbnbdewfuf5DR4qWADaARgC6AOmIyPCA
💻 Code
// Your code here
🙁 Actual behavior
ts Verification passed
🙂 Expected behavior
ts Verification not passed
Additional information about the issue
The text was updated successfully, but these errors were encountered: