Same fix as https://github.com/bazelbuild/rules_typescript/commit/e70d7a2a7c08d7031f4dd4a385a7a6aa27296948 This is because the CompilerOptions needs to have directoryExists undefined in order to get the google3 behavior, so we have to set the property outside the constructor. Fixes #21872 PR Close #21876