Skip to content

Commit

Permalink
[README] Use consistent heading case (DefinitelyTyped#50242)
Browse files Browse the repository at this point in the history
Co-authored-by: Eli Barzilay <[email protected]>
  • Loading branch information
jablko and elibarzilay authored Jan 1, 2021
1 parent 5e6e7ef commit e901810
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- [`OTHER_FILES.txt`](#other_filestxt)
- [常见错误](#常见错误)
</details>
- [Definition Owners](#definition-owners)
- [Definition owners](#definition-owners)
* [FAQ](#faq)
* [许可证](#许可证)

Expand Down Expand Up @@ -334,7 +334,7 @@ If a file is neither tested nor referenced in `index.d.ts`, add it to a file nam
* `var foo: string | any`:
如果在联合类型中使用 `any`, 则结果始终为 `any`. 因此,即便类型中的 `string` 部分看起来很有用,但实际上在类型检查方面与 `any` 没有什么区别。根据你的意图,可以选择 `any`, `string`, 或 `string | object`.
### Definition Owners
### Definition owners
DT has the concept of "Definition Owners" which are people who want to maintain the quality of a particular module's types
Expand Down
14 changes: 7 additions & 7 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Vea también el sitio web [definitelytyped.org](http://definitelytyped.org), aunque la información en este README está más actualizada.

## Table of Contents
## Contents

* [¿Qué son los `declaration files`?](#¿qué-son-los-declaration-files)
* [¿Cómo los obtengo?](#¿cómo-los-obtengo)
Expand All @@ -14,7 +14,7 @@ Vea también el sitio web [definitelytyped.org](http://definitelytyped.org), aun
- [Editar un paquete existente](#editar-un-paquete-existente)
- [Crear un nuevo paquete](#crear-un-nuevo-paquete)
- [Remover un paquete](#remover-un-paquete)
- [Running Tests](#running-tests)
- [Running tests](#running-tests)
- [Naming](#naming)
- [`<my-package>-tests.ts`](#my-package-teststs)
- [Linter: `tslint.json`](#linter-tslintjson)
Expand All @@ -23,7 +23,7 @@ Vea también el sitio web [definitelytyped.org](http://definitelytyped.org), aun
- [`OTHER_FILES.txt`](#other_filestxt)
- [Errores comunes](#errores-comunes)
</details>
- [Definition Owners](#definition-owners)
- [Definition owners](#definition-owners)
* [FAQ](#faq)
* [Licencia](#licencia)

Expand Down Expand Up @@ -52,7 +52,7 @@ Si aún no puedes encontrarlo, comprueba si el paquete ya [incluye](http://www.t
Esto es provisto usualmente en el campo `"types"` o `"typings"` en el `package.json`,
o solo busca por cualquier archivo ".d.ts" en el paquete e inclúyelo manualmente con un `/// <reference path="" />`.

#### Versiones más viejas de Typescript (3.1 y anteriores)
#### Versiones más viejas de TypeScript (3.1 y anteriores)

Definitely Typed solamente prueba paquetes en versiones de TypeScript que son menores a 2 años.
Actualmente, las versiones 3.2 y posteriores están siendo probadas. Si estas usando TypeScript 2.0 a 3.1, puedes intentar instalando paquetes `@types` &mdash; la mayoría de los paquetes no usan los beneficios de Typescript más nuevos. No hay garantía de que funcionen.
Expand Down Expand Up @@ -87,7 +87,7 @@ Por ejemplo, si ejecutas `npm dist-tags @types/react`, observaras que Typescript
|ts2.7| 16.4.7|
| ... | ... |

#### Typescript 1.*
#### TypeScript 1.*

* Descárguelo manualmente desde la `master` branch de este repositorio
* [Typings](https://github.com/typings/typings)~~ (use las alternativas preferidas, typings es obsoleto)
Expand Down Expand Up @@ -193,7 +193,7 @@ Cualquier otro paquete en Definitely Typed que referencie el paquete eliminado d

Si un paquete nunca estuvo en Definitely Typed, no será necesario añadirlo a `notNeededPackages.json`.

#### Running Tests
#### Running tests

Realiza una prueba ejecutando `npm test <package to test>` donde `<package to test>` es el nombre de tu paquete.
Este script utiliza [dtslint](https://github.com/Microsoft/dtslint).
Expand Down Expand Up @@ -298,7 +298,7 @@ If a file is neither tested nor referenced in `index.d.ts`, add it to a file nam
Cuando es usado `any` en un tipo de unión, el tipo resultante todavía es `any`. Así que mientras la porción `string` de este tipo de anotación puede _verse_ útil, de hecho, no ofrece ningún typechecking adicional más que un simple `any`.
Dependiendo de la intención, una alternativa aceptable puede ser `any`, `string`, o `string | object`.

### Definition Owners
### Definition owners

DT has the concept of "Definition Owners" which are people who want to maintain the quality of a particular module's types

Expand Down
4 changes: 2 additions & 2 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- [`OTHER_FILES.txt`](#other_filestxt)
- [많이 저지르는 실수들](#많이-저지르는-실수들)
</details>
- [Definition Owners](#definition-owners)
- [Definition owners](#definition-owners)
* [자주 하는 질문들](#자주-하는-질문들)
* [라이센스](#라이센스)

Expand Down Expand Up @@ -325,7 +325,7 @@ If a file is neither tested nor referenced in `index.d.ts`, add it to a file nam
`any` 가 합 자료형(Union type)의 안에서 사용될 경우, 결과 형(Type)은 언제나 `any` 가 됩니다. 따라서 형(Type)의 `string` 부분이 유용해 보인다 하더라도, 사실은 자료형 검사(Type checking)의 측면에서 `any` 와 다른 것이 없습니다.
대신, `any`, `string`, 나 `string | object` 중 하나를 필요에 맞게 골라서 사용해주세요.

### Definition Owners
### Definition owners

DT has the concept of "Definition Owners" which are people who want to maintain the quality of a particular module's types

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

*Link to [Admin manual](./docs/admin.md)*

## Table of Contents
## Contents

* [Current status](#current-status)
* [What are declaration files and how do I get them?](#what-are-declaration-files-and-how-do-i-get-them)
Expand All @@ -16,7 +16,7 @@
- [Edit an existing package](#edit-an-existing-package)
- [Create a new package](#create-a-new-package)
- [Removing a package](#removing-a-package)
- [Running Tests](#running-tests)
- [Running tests](#running-tests)
- [Naming](#naming)
- [`<my-package>-tests.ts`](#my-package-teststs)
- [Linter: `tslint.json`](#linter-tslintjson)
Expand All @@ -25,7 +25,7 @@
- [`OTHER_FILES.txt`](#other_filestxt)
- [Common mistakes](#common-mistakes)
</details>
- [Definition Owners](#definition-owners)
- [Definition owners](#definition-owners)
* [FAQ](#faq)
* [License](#license)

Expand Down Expand Up @@ -219,7 +219,7 @@ When you add a `package.json` to dependents of `foo`, you will also need to open

If a package was never on Definitely Typed, it does not need to be added to `notNeededPackages.json`.

#### Running Tests
#### Running tests

Test your changes by running `npm test <package to test>` where `<package to test>` is the name of your package.

Expand Down Expand Up @@ -335,7 +335,7 @@ If a file is neither tested nor referenced in `index.d.ts`, add it to a file nam
When `any` is used in a union type, the resulting type is still `any`. So while the `string` portion of this type annotation may _look_ useful, it in fact offers no additional typechecking over simply using `any`.
Depending on the intention, acceptable alternatives could be `any`, `string`, or `string | object`.
### Definition Owners
### Definition owners
DT has the concept of "Definition Owners" which are people who want to maintain the quality of a particular module's types
Expand Down
2 changes: 1 addition & 1 deletion README.pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Veja também o site [definitelytyped.org](http://definitelytyped.org), embora as

*Link para o [manual do Admin](./docs/admin.md)*

## Tabela de Conteúdos
## Tabela de conteúdos

* [Status atual](#status-atual)
* [O que são arquivos de declaração?](#o-que-são-arquivos-de-declaração)
Expand Down
8 changes: 4 additions & 4 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ _Вы также можете прочитать этот README на [англ
- [`OTHER_FILES.txt`](#other_filestxt)
- [Распространенные ошибки](#распространенные-ошибки)
</details>
- [Definition Owners](#definition-owners)
- [Definition owners](#definition-owners)
* [Часто задаваемые вопросы](#часто-задаваемые-вопросы)
* [Лицензия](#лицензия)

Expand Down Expand Up @@ -73,7 +73,7 @@ npm install --save-dev @types/node
Если вы все еще не можете найти его, проверьте [включает](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html) ли пакет собственную типизацию.
Обычно это отражается в поле `"types"` или `"typings"` файла `package.json`, или просто ищите любые файлы «.d.ts» в пакете и вручную включайте их с помощью `/// <reference path="" />`.

#### Typescript 3.1 и старее
#### TypeScript 3.1 и старее

Начиная с ноября 2019 года, Definitely Typed тестирует пакеты только на версиях Typescript, которым меньше двух лет.
Если вы используете Typescript от 2.0 до 3.1, вы все равно можете попробовать установить пакеты `@types` - большинство пакетов не используют новые функции Typescript.
Expand Down Expand Up @@ -110,7 +110,7 @@ npm install --save-dev @types/node
| `ts2.6` | `16.4.7` |
|||

### Typescript 1.8 и старше
### TypeScript 1.8 и старше

- [Typings](https://github.com/typings/typings)
- ~~[NuGet](https://nuget.org/packages?q=DefinitelyTyped)~~ (используйте предпочтительные альтернативы, публикация типа nuget DT отключена)
Expand Down Expand Up @@ -321,7 +321,7 @@ If a file is neither tested nor referenced in `index.d.ts`, add it to a file nam
когда `any` используется в типе объединения, результирующий тип все еще `any`. Таким образом, хотя `string` часть аннотации этого типа может _выглядеть_ полезной, на самом деле она не предлагает никакой дополнительной проверки типов по сравнению с простым использованием `any`.
В зависимости от намерения, приемлемыми альтернативами могут быть `any`, `string`, или `string | object`.

### Definition Owners
### Definition owners

DT has the concept of "Definition Owners" which are people who want to maintain the quality of a particular module's types

Expand Down

0 comments on commit e901810

Please sign in to comment.