Skip to content

docs: fix invokeOrigin README examples - #50

Open
dajiaohuang wants to merge 1 commit into
alibaba:masterfrom
dajiaohuang:docs/fix-invoke-origin-readme-return
Open

dajiaohuang wants to merge 1 commit into
alibaba:masterfrom
dajiaohuang:docs/fix-invoke-origin-readme-return

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • Fix both invokeOrigin README examples to return the declared value variable instead of an undefined object.
  • Use String for the value to match the example method's return type and InstrumentApi.invokeOrigin()'s generic return.

Validation

  • git diff --check passed.
  • Documentation-only change; Maven tests were not run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant