qwik icon indicating copy to clipboard operation
qwik copied to clipboard

TUTORIAL: fix minor typo in prop name (Passing closures)

Open Arthur-Fedotiev opened this issue 3 years ago • 1 comments

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

Arthur-Fedotiev avatar Oct 28 '22 05:10 Arthur-Fedotiev

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.