Skip to content

fix(curriculum): allow typed raiseTo arrow functions#67416

Closed
MukundaKatta wants to merge 1 commit into
freeCodeCamp:mainfrom
MukundaKatta:codex/fix-raise-to-arrow-return-type
Closed

fix(curriculum): allow typed raiseTo arrow functions#67416
MukundaKatta wants to merge 1 commit into
freeCodeCamp:mainfrom
MukundaKatta:codex/fix-raise-to-arrow-return-type

Conversation

@MukundaKatta
Copy link
Copy Markdown
Contributor

Checklist:

  • I have read and followed the contributing guidelines.

Closes #67362

This updates the Step 14 raiseTo parameter-name assertion so arrow function declarations with a : number return type annotation are accepted.

Verification:

  • Ran a local Node regex check for function declarations, typed arrow functions, untyped arrow functions, and an incorrect parameter name.

@MukundaKatta MukundaKatta requested review from a team as code owners May 15, 2026 02:11
@github-actions github-actions Bot added scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Hi there,

Thanks for opening this pull request.

The automated checks found some issues:

Checklist: The PR description is missing the required checklist or some of its items are not completed:

  1. The Checklist: heading is present in the PR description.
  2. The checkbox items are ticked (changed from [ ] to [x]).
  3. You have actually completed the items in the checklist.

Please edit your PR description to include the following template with the checklist items completed.

Checklist:

<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [ ] I have read and followed the [contribution guidelines](https://contribute.freecodecamp.org).
- [ ] I have read and followed the [how to open a pull request guide](https://contribute.freecodecamp.org/how-to-open-a-pull-request/).
- [ ] My pull request targets the `main` branch of freeCodeCamp.
- [ ] I have tested these changes either locally on my machine, or GitHub Codespaces.

<!--If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.-->

Closes #XXXXX

<!-- Feel free to add any additional description of changes below this line -->

Join us in our chat room or our forum if you have any questions or need help with contributing.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build a Type Safe Math Toolkit #Step14

2 participants