---
title: "Improving code quality in Typescript with compiler options - Part 2"
url: https://daily.dev/posts/improving-code-quality-in-typescript-with-compiler-options---part-2-4yces7-ja
source_url: https://blog.openreplay.com/improving-code-quality-in-typescript-with-compiler-options-part-2
type: article
source: "asayer"
published: 2022-07-27T02:57:20.362Z
updated: 2022-07-27T02:57:20.361Z
tags: ["javascript", "css", "typescript"]
reading_time: 12
upvotes: 13
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Improving code quality in Typescript with compiler options - Part 2

**[asayer](https://daily.dev/sources/asayer)** · 12 min read · 13 upvotes · 0 comments

## Summary

The switch from JavaScript to Typescript is a huge improvement in any codebase. The switch can be made even better and improved by going beyond the default typescript features. Here we will cover more options in the tsconfig.json file and how to improve code quality with the strictPropertyInitialization. We have a User class in the code block above and the constructor() method. For more information, please visit the tsconfig file.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.openreplay.com/improving-code-quality-in-typescript-with-compiler-options-part-2>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#css](https://daily.dev/tags/css), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/improving-code-quality-in-typescript-with-compiler-options---part-2-4yces7-ja)
