qwik
qwik copied to clipboard
TUTORIAL: fix minor typo in prop name (Passing closures)
What is it?
- [ x ] Docs / tests
Description
Tutorial: "Passing closures". Typo: In the last example when internally invoking the callback QRL, the callback name is not the same specified in MyComponentProps interface.
Use cases and why
Expected: The name of the callback QRL is the same specified in interface MyComponentProps: hello$
Actual: The name of the callback QRL is helloQrl, which is not the same specified in interface MyComponentProps
Checklist:
- [ x ] My code follows the developer guidelines of this project
- [ x ] I have performed a self-review of my own code
- [ n/a ] I have made corresponding changes to the documentation
- [ n/a ] Added new tests to cover the fix / functionality
Run & review this pull request in StackBlitz Codeflow.