Update TSConfig (#2589)

Based on #2558. Also fixes errors resulting from the stricter options.

Release Notes:

- N/A (No public facing changes)
16e3e04501Nate Butler committed on 6/8/2023, 5:31:21 AM· committed by GitHubparentsa75e9fa1e43fec
6 files changedLine totals unavailable