-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(plugin): support outputs without inline initialization
Previously, this script would fail with a cryptic message (`cannot read property of undefined (reading includes)`) for input like: ```ts @output() myOutput: EventEmitter<string>; ``` The changes support that use case and: - Uses the initialization in the constructor to infer the type (and removes it) - Creates an initialization (`= output()`) if it doesn't exist
- Loading branch information
1 parent
1d7bfd4
commit be08af7
Showing
3 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters