mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
79ff91a813
When the AOT compiler creates a delegated host for a provided TypeScript CompilerHost, it delegates functionality back to the original via a series of internal method delegations. However, unlike other members of the CompilerHost, `jsDocParsingMode` is not a method and cannot be delegated in this way. Attempting to call bind on the property will result in a runtime error. Instead, `jsDocParsingMode` is now delegated via get/set accessors. Additionally, the override of `getSourceFile` now has an updated type signature to reflect the additional of the `jsDocParsingMode` option for the method. PR Close #53126