// @strictNullChecks: true // @target: ES5 // Repro from #8923 class A { private static _a: string | undefined; public get a(): string { if (A._a) { return A._a; // is possibly null or undefined. } return A._a = 'helloworld'; } }