Skip to content

docs: fix wrong API name define.handler -> define.handlers#3853

Open
SisyphusZheng wants to merge 1 commit into
freshframework:mainfrom
SisyphusZheng:fix/docs-define-handler-typo
Open

docs: fix wrong API name define.handler -> define.handlers#3853
SisyphusZheng wants to merge 1 commit into
freshframework:mainfrom
SisyphusZheng:fix/docs-define-handler-typo

Conversation

@SisyphusZheng

Copy link
Copy Markdown
Contributor

The define.md documentation described \define.handler()\ (singular) but the actual API in \packages/fresh/src/define.ts\ is \define.handlers()\ (plural).

The code example on the same page (line 59) already uses the correct name \define.handlers. This PR fixes the descriptive text on line 54 to match.

The define.md documentation described \define.handler()\ (singular) but the actual API is \define.handlers()\ (plural). The code example on the same page uses the correct name. Fix the descriptive text to match.
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