-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interface optional properties (#946)
* Parser allows optional interface properties and adds them as optional members * Added interface completion tests * Added optional interface members docs * Reworked optional members to use a keyword * Fixed hovers for optional properties * Fixed merge issue * updated documentation * Fixed code in completions test * remove questionLeftParen in interface method dclaration * ensure interface field name is an identifier * Updated comment * fix package builder * Fix crash on missing node type * Fixed issue with using a variable assigned from an unknown variable * Allow enums to be named `optional. Add several related tests. --------- Co-authored-by: Bronley Plumb <bronley@gmail.com>
- Loading branch information
1 parent
378c599
commit 2c484e3
Showing
21 changed files
with
811 additions
and
57 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
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
Oops, something went wrong.