Adds the Brazilian Portuguese translation of More on Functions from the TypeScript v2 Handbook, into docs/documentation/pt/handbook-v2/.
This continues the handbook-v2 PT-BR effort (#247–#251). More on Functions is page #5 in the reading order — it's a dense, central page covering function type expressions, call/construct signatures, generic functions (inference, constraints, guidelines), optional parameters, overloads, this, the void/object/unknown/never/Function types, rest parameters/arguments and parameter destructuring.
Translation choices
Followed the established pt/ frontmatter convention: translated title and oneline, adapted permalink to /pt/docs/handbook/2/functions.html.
Preserved every code sample verbatim — all 16 @errors directive lines (14 groups, verified identical to EN), every // ---cut--- (13), both // ^? markers, the in-code // prettier-ignore pragma and both // @ts-expect-error directives (left untranslated — they're functional).
Preserved the two <blockquote class='bg-reading'> background-reading boxes: translated the "Background Reading" label to "Leitura de apoio" and kept the MDN links unchanged.
Kept the <!-- prettier-ignore --> and <!-- TODO --> HTML comments.
Translated only the explanatory comments inside code blocks; identifiers, strings and sample values left unchanged.
Kept technical terms with a PT gloss on first use (e.g. assinatura de chamada (call signature), restrição (constraint), sobrecargas (overloads), parâmetros rest).
Source
microsoft/TypeScript-Website @ packages/documentation/copy/en/handbook-v2/More on Functions.md
Testing
Read side-by-side with the EN source; verified code fences (108), ---cut--- (13), ^? (2), @ts-expect-error (2) and bg-reading blockquotes (2) match, and a diff of all @errors codes between EN and PT is empty. Cross-checked terminology against the already-merged pt/ pages and my sibling PRs (#247–#251).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the Brazilian Portuguese translation of More on Functions from the TypeScript v2 Handbook, into docs/documentation/pt/handbook-v2/.
This continues the handbook-v2 PT-BR effort (#247–#251). More on Functions is page #5 in the reading order — it's a dense, central page covering function type expressions, call/construct signatures, generic functions (inference, constraints, guidelines), optional parameters, overloads, this, the void/object/unknown/never/Function types, rest parameters/arguments and parameter destructuring.
Translation choices
Source
microsoft/TypeScript-Website @ packages/documentation/copy/en/handbook-v2/More on Functions.md
Testing
Read side-by-side with the EN source; verified code fences (108), ---cut--- (13), ^? (2), @ts-expect-error (2) and bg-reading blockquotes (2) match, and a diff of all @errors codes between EN and PT is empty. Cross-checked terminology against the already-merged pt/ pages and my sibling PRs (#247–#251).