Adds the Brazilian Portuguese translation of Object Types from the TypeScript v2 Handbook, into docs/documentation/pt/handbook-v2/.
This continues the handbook-v2 PT-BR effort (#247–#252). Object Types is page #6 in the reading order and one of the longest/most-consulted pages — it covers property modifiers (optional, readonly), index signatures, excess property checks, extending types, intersections, generic object types, the Array/ReadonlyArray types and tuple types.
Translation choices
Followed the established pt/ frontmatter convention: translated title and oneline, adapted permalink to /pt/docs/handbook/2/objects.html.
Preserved every code sample verbatim — all @errors directive lines (21 groups, verified identical to EN via diff), every // ---cut--- (17), all 18 positional markers (// ^? and ^^^^ pointers), and the special twoslash compiler-option directives (// @noLib: true, // @strictPropertyInitialization: false, // @noImplicitAny: false).
Preserved the <details>/<summary> collapsible block (multiple indexers): translated the prose, kept the code untouched.
Kept all HTML comments including the large commented-out <!-- TODO --> and <!-- ## Other Kinds... --> sections verbatim.
Translated JSDoc comments and explanatory comments inside code blocks (e.g. the Array<Type> interface doc-comments); identifiers, strings and sample values left unchanged.
Kept technical terms with a PT gloss on first use (e.g. assinatura de índice (index signature), verificação de propriedades excedentes (excess property checking), tipos de interseção (intersection types), tipo de tupla (tuple type)).
Read side-by-side with the EN source; verified code fences (128), ---cut--- (17), ^? markers (18), <details> (1) and special compiler-option directives (3) 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–#252).
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 Object Types from the TypeScript v2 Handbook, into docs/documentation/pt/handbook-v2/.
This continues the handbook-v2 PT-BR effort (#247–#252). Object Types is page #6 in the reading order and one of the longest/most-consulted pages — it covers property modifiers (optional, readonly), index signatures, excess property checks, extending types, intersections, generic object types, the Array/ReadonlyArray types and tuple types.
Translation choices
Source
microsoft/TypeScript-Website @ packages/documentation/copy/en/handbook-v2/Object Types.md
Testing
Read side-by-side with the EN source; verified code fences (128), ---cut--- (17), ^? markers (18), <details> (1) and special compiler-option directives (3) 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–#252).