forked from redwoodjs/redwood
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(functions): Fix context variable warning/error (redwoodjs#10556)
- Loading branch information
Showing
3 changed files
with
12 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- fix(functions): Fix context variable warning/error (#10556) by @Tobbe | ||
|
||
In a newly generated function there's a warning/error in the JSDoc that also prevents VSCode from showing the correct information. See screenshot below | ||
![image](https://github.com/redwoodjs/redwood/assets/30793/8f1debf5-295a-4f82-9b13-c072236d0393) | ||
|
||
And with the fix: | ||
![image](https://github.com/redwoodjs/redwood/assets/30793/bebf2c6f-0d45-42e1-9bfe-e67f07fccad6) |
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