Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(compiler): For
FatalDiagnosticError
, hide the message
field w…
…ithout affecting the emit We want to hide `.message` from users, but the previous approach is not compatible with [TS 3.7](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier) ("using class fields to specialize properties from base classes also won’t work"). Instead, we just override it to `never` in the .d.ts using `declare`.
- Loading branch information