Skip to content
Medium
Index signatures

Index signature safety

Given a string-to-number map, add safe getters that return number | undefined respecting noUncheckedIndexedAccess.

Solution

Loading...
Run your code to see output and diagnostics.

Built by Antigravity. The source code is available on GitHub.