<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with the latest published version. It may have already been fixed. For npm: `typescript@next` This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly --> **TypeScript Version:** 3.8.0-beta <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** - quick fix - declare property **Code** For the code: ```ts class Foo { constructor() { this._bar = 1; } } new Foo().other = 'a'; ``` Trigger the quick fix to declare a missing property on `_bar`. **Expected behavior:** The quick fix adds a private property `_bar`: ```ts class Foo { private _bar: number; constructor() { this._bar = 1; } } ``` **Actual behavior:** The quick fix adds a standard public property: ```ts class Foo { _bar: number; constructor() { this._bar = 1; } } ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> **Related Issues:** <!-- Did you find other bugs that looked similar? --> /cc @JacksonKearl