[typescript/*] remove dead links and format

This commit is contained in:
Boris Verkhovskiy 2024-04-18 21:34:40 -07:00
parent 51ff67f3a9
commit baf63b1f08
12 changed files with 64 additions and 87 deletions

View File

@ -12,9 +12,9 @@ TypeScript es un lenguaje cuyo objetivo es facilitar el desarrollo de aplicacion
TypeScript añade conceptos comunes como clases, módulos, interfaces, genéricos y (opcionalmente) tipeo estático a JavaScript.
Es un superset de JavaScript: todo el código JavaScript es código válido en TypeScript de manera que se puede integrar fácilmente a cualquier proyecto . El compilador TypeScript emite JavaScript.
Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript] (../javascript-es/).
Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript](../javascript-es/).
Para probar el compilador de TypeScript, diríjase al [Área de Pruebas] (http://www.typescriptlang.org/Playground) donde podrá tipear código, y ver como se auto-completa al tiempo que ve el código emitido JavaScript.
Para probar el compilador de TypeScript, diríjase al [Área de Pruebas](https://www.typescriptlang.org/Playground) donde podrá tipear código, y ver como se auto-completa al tiempo que ve el código emitido JavaScript.
```js
// Existen 3 tipos básicos en TypeScript
@ -164,8 +164,6 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
```
## Para mayor información
* [Sitio Oficial de TypeScript] (http://www.typescriptlang.org/)
* [Especificaciones del lenguaje TypeScript (pdf)] (http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - Introduciendo TypeScript en Canal 9] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Código fuente en GitHub] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - repositorio para definiciones de tipo] (http://definitelytyped.org/)
* [Sitio Oficial de TypeScript](https://www.typescriptlang.org/)
* [Código fuente en GitHub](https://github.com/microsoft/TypeScript)

View File

@ -12,9 +12,9 @@ TypeScript est un langage visant à faciliter le développement d'applications l
TypeScript ajoute des concepts classiques comme les classes, les modules, les interfaces, les génériques et le typage statique (optionnel) à JavaScript.
C'est une surcouche de JavaScript : tout le code JavaScript est valide en TypeScript ce qui permet de l'ajouter de façon transparente à n'importe quel projet. Le code TypeScript est transcompilé en JavaScript par le compilateur.
Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript] (../javascript-fr/).
Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript](../javascript-fr/).
Pour tester le compilateur de TypeScript, rendez-vous au [Playground] (http://www.typescriptlang.org/Playground) où vous pourrez coder, profiter d'une autocomplétion et accéder directement au rendu JavaScript.
Pour tester le compilateur de TypeScript, rendez-vous au [Playground](https://www.typescriptlang.org/Playground) où vous pourrez coder, profiter d'une autocomplétion et accéder directement au rendu JavaScript.
```js
// Il y a 3 types basiques en TypeScript
@ -166,8 +166,6 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
```
## Lectures complémentaires
* [Site officiel de TypeScript] (http://www.typescriptlang.org/)
* [Spécification du langage TypeScript (pdf)] (http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - Introducing TypeScript on Channel 9] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Code source sur GitHub] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - repository for type definitions] (http://definitelytyped.org/)
* [Site officiel de TypeScript](https://www.typescriptlang.org/)
* [Code source sur GitHub](https://github.com/microsoft/TypeScript)

View File

@ -14,7 +14,7 @@ A JavaScript egy befoglaló halmazát képzi: minden JavaScript kód érvényes
Ez a dokumentum a TypeScript által hozzáadott új szintaxissal foglalkozik, nem pedig a [Javascripttel](../javascript/).
Hogy kipróbáld a TypeScript fordítót, látogass el a [Játszótérre avagy Playground-ra](http://www.typescriptlang.org/Playground) ahol kódot írhatsz automatikus kódkiegészítéssel, és közvetlenül láthatod az előállított JavaScript kódot.
Hogy kipróbáld a TypeScript fordítót, látogass el a [Játszótérre avagy Playground-ra](https://www.typescriptlang.org/Playground) ahol kódot írhatsz automatikus kódkiegészítéssel, és közvetlenül láthatod az előállított JavaScript kódot.
```js
// 3 alapvető típus létezik TypeScriptben
@ -167,8 +167,6 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
```
## További források
* [TypeScript hivatalos weboldala] (http://www.typescriptlang.org/)
* [TypeScript nyelv specifikációja (pdf)] (http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - Introducing TypeScript on Channel 9] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Forráskód GitHubon] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - típusdefiníciók gyűjteménye] (http://definitelytyped.org/)
* [TypeScript hivatalos weboldala](https://www.typescriptlang.org/)
* [Forráskód GitHubon](https://github.com/microsoft/TypeScript)

View File

@ -18,7 +18,7 @@ valido in TypeScript. Il compilatore di TypeScript genera codice JavaScript.
Questo articolo si concentrerà solo sulle funzionalità aggiuntive di TypeScript.
Per testare il compilatore, puoi utilizzare il
[Playground](http://www.typescriptlang.org/Playground), dove potrai scrivere
[Playground](https://www.typescriptlang.org/Playground), dove potrai scrivere
codice TypeScript e visualizzare l'output in JavaScript.
```ts
@ -220,8 +220,6 @@ numeri = altriNumeri; // Errore, i metodi di modifica non esistono
```
## Altre risorse
* [Sito ufficiale di TypeScript](http://www.typescriptlang.org/)
* [Specifica di TypeScript](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)
* [Anders Hejlsberg - Introducing TypeScript su Channel 9](http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [TypeScript su GitHub](https://github.com/Microsoft/TypeScript)
* [Definitely Typed - definizioni per le librerie](http://definitelytyped.org/)
* [Sito ufficiale di TypeScript](https://www.typescriptlang.org/)
* [TypeScript su GitHub](https://github.com/microsoft/TypeScript)

View File

@ -15,9 +15,9 @@ generieken en statische typen toe aan JavaScript.
TypeScript is een superset van JavaScript: alle JavaScript code is geldige
TypeScript code waardoor de overgang van JavaScript naar TypeScript wordt versoepeld.
Dit artikel focust zich alleen op de extra's van TypeScript tegenover [JavaScript] (../javascript-nl/).
Dit artikel focust zich alleen op de extra's van TypeScript tegenover [JavaScript](../javascript-nl/).
Om de compiler van TypeScript te kunnen proberen kun je naar de [Playground] (http://www.typescriptlang.org/Playground) gaan.
Om de compiler van TypeScript te kunnen proberen kun je naar de [Playground](https://www.typescriptlang.org/Playground) gaan.
Hier kun je automatisch aangevulde code typen in TypeScript en de JavaScript variant bekijken.
```js
@ -166,8 +166,6 @@ var tupel = paarNaarTupel({ item1: "hallo", item2: "wereld" });
```
## Verder lezen (engels)
* [TypeScript Official website] (http://www.typescriptlang.org/)
* [TypeScript language specifications (pdf)] (http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - Introducing TypeScript on Channel 9] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Source Code on GitHub] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - repository for type definitions] (http://definitelytyped.org/)
* [TypeScript Official website](https://www.typescriptlang.org/)
* [Source Code on GitHub](https://github.com/microsoft/TypeScript)

View File

@ -14,7 +14,7 @@ Typescript acrescenta conceitos comuns como classes, módulos, interfaces, gené
Este artigo irá se concentrar apenas na sintaxe extra do TypeScript, ao contrário de [JavaScript](../javascript-pt/).
Para testar o compilador TypeScript, vá para o [Playground](http://www.typescriptlang.org/Playground), onde você vai ser capaz de escrever código, ter auto conclusão e ver diretamente o JavaScript emitido.
Para testar o compilador TypeScript, vá para o [Playground](https://www.typescriptlang.org/Playground), onde você vai ser capaz de escrever código, ter auto conclusão e ver diretamente o JavaScript emitido.
```js
// Existem 3 tipos básicos no TypeScript
@ -164,8 +164,6 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
```
## Leitura adicional
* [TypeScript site oficial](http://www.typescriptlang.org/)
* [TypeScript especificações de idioma (pdf)](http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - Apresentando texto datilografado no Canal 9](http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Código fonte no GitHub](https://github.com/Microsoft/TypeScript)
* [Definitivamente datilografado - repositório de definições de tipo](http://definitelytyped.org/)
* [TypeScript site oficial](https://www.typescriptlang.org/)
* [Código fonte no GitHub](https://github.com/microsoft/TypeScript)

View File

@ -14,9 +14,9 @@ TypeScript добавляет в Javascript общие концепции, та
Это надмножество языка JavaScript: весь JavaScript-код является валидным TypeScript-кодом, следовательно, может быть добавлен бесшовно в любой проект.
Компилятор TypeScript генерирует JavaScript-код.
Эта статья концентрируется только на синтаксисе TypeScript, в противовес статье о [JavaScript](javascript-ru/).
Эта статья концентрируется только на синтаксисе TypeScript, в противовес статье о [JavaScript](../javascript-ru/).
Для тестирования компилятора TypeScript пройдите по ссылке в [песочницу](http://www.typescriptlang.org/Playground).
Для тестирования компилятора TypeScript пройдите по ссылке в [песочницу](https://www.typescriptlang.org/Playground).
Там вы можете написать код (с поддержкой автодополнения) и сразу же увидеть сгенерированный JavaScript код.
```js
@ -165,8 +165,6 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
```
## Для дальнейшего чтения
* [Официальный веб-сайт TypeScript](http://www.typescriptlang.org/)
* [Спецификация языка TypeScript (pdf)](http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg — Introducing TypeScript на Channel 9](http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Исходный код на GitHub](https://github.com/Microsoft/TypeScript)
* [Definitely Typed — репозиторий определений типов](http://definitelytyped.org/)
* [Официальный веб-сайт TypeScript](https://www.typescriptlang.org/)
* [Исходный код на GitHub](https://github.com/microsoft/TypeScript)

View File

@ -12,7 +12,7 @@ TypeScript เป็นภาษาที่มีเป้าหมายเพ
บทความนี้จะเน้นเฉพาะ syntax ส่วนขยายของ TypeScript ซึ่งจะไม่รวมกับที่มีใน [JavaScript](/docs/javascript)
การทดสอบเขียน TypeScript เริ่มได้ง่าย ๆ โดยเข้าไปที่
[Playground](http://www.typescriptlang.org/Playground) ซึ่งคุณจะเขียนโค้ดพร้อม autocomplete และเห็นเลยว่ามันจะแปลงมาเป็นผลลัพธ์แบบ JavaScript อย่างไร
[Playground](https://www.typescriptlang.org/Playground) ซึ่งคุณจะเขียนโค้ดพร้อม autocomplete และเห็นเลยว่ามันจะแปลงมาเป็นผลลัพธ์แบบ JavaScript อย่างไร
```ts
// TypeScript มี data type พื้นฐาน 3 แบบ
@ -250,8 +250,6 @@ for (const i in list) {
```
## อ่านเพิ่มเติมที่
* [TypeScript Official website] (http://www.typescriptlang.org/)
* [TypeScript language specifications] (https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)
* [Anders Hejlsberg - Introducing TypeScript on Channel 9] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Source Code on GitHub] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - repository for type definitions] (http://definitelytyped.org/)
* [TypeScript Official website](https://www.typescriptlang.org/)
* [Source Code on GitHub](https://github.com/microsoft/TypeScript)

View File

@ -12,9 +12,9 @@ TypeScript, JavaScript'le yazılmış büyük ölçekli uygulamaların geliştir
TypeScript, JavaScript'e sınıflar, modüller, arayüzler, jenerik tipler ve (isteğe bağlı) static tipleme gibi genel konseptler ekler.
JavaScript, TypeScript'in bir alt kümesidir: Bütün JavaScript kodları geçerli birer TypeScript kodudur ve sorunsuz herhangi bir projeye eklenebilirler. TypeScript derleyici JavaScript kodu üretir.
Bu makale sadece TypeScript'e ait ekstra söz dizimini konu alır, JavaScript için bkz: [JavaScript] (../javascript/).
Bu makale sadece TypeScript'e ait ekstra söz dizimini konu alır, JavaScript için bkz: [JavaScript](../javascript/).
TypeScript derleyiciyi test etmek için [Playground] (http://www.typescriptlang.org/Playground)'a gidin. Orada otomatik tamamlama ile kod yazabilecek ve üretilen JavaScript'i görebileceksiniz.
TypeScript derleyiciyi test etmek için [Playground](https://www.typescriptlang.org/Playground)'a gidin. Orada otomatik tamamlama ile kod yazabilecek ve üretilen JavaScript'i görebileceksiniz.
```js
// TypeScript'te üç ana tip vardır.
@ -172,8 +172,6 @@ bir string örneği`;
```
## Daha fazlası
* [TypeScript Resmi Sitesi] (http://www.typescriptlang.org/)
* [TypeScript dil spesifikasyonu (pdf)] (http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - Channel 9'da TypeScript'e Giriş] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [GitHub'ta Açık Kaynak Kodu] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - tip tanımları için kaynak] (http://definitelytyped.org/)
* [TypeScript Resmi Sitesi](https://www.typescriptlang.org/)
* [GitHub'ta Açık Kaynak Kodu](https://github.com/microsoft/TypeScript)

View File

@ -290,7 +290,7 @@ foo.baz = 'hello world'
```
## Further Reading
* [TypeScript Official website] (http://www.typescriptlang.org/)
* [TypeScript language specifications] (https://github.com/microsoft/TypeScript/blob/main/doc/spec-ARCHIVED.md)
* [Learn TypeScript] (https://learntypescript.dev/)
* [Source Code on GitHub] (https://github.com/Microsoft/TypeScript)
* [Official TypeScript website](https://www.typescriptlang.org/)
* [Source code on GitHub](https://github.com/microsoft/TypeScript)
* [Learn TypeScript](https://learntypescript.dev/)

View File

@ -14,7 +14,7 @@ Ngôn ngữ này là tập lớn hơn của JavaScript: tất cả code JavaScri
Bài viết này sẽ chỉ tập trung tới các cú pháp bổ sung mà TypeScript thêm vào thay vì nói đến cả các cú pháp [JavaScript](javascript-vi.html.markdown).
Để thử dùng TypeScript với trình biên dịch, đi đến [Sân chơi TypeScript](http://www.typescriptlang.org/play) nơi mà bạn có thể nhập code, sử dụng chức năng hỗ trợ tự hoàn thành code - autocompletion và trực tiếp quan sát mã JavaScript được sinh ra.
Để thử dùng TypeScript với trình biên dịch, đi đến [Sân chơi TypeScript](https://www.typescriptlang.org/play) nơi mà bạn có thể nhập code, sử dụng chức năng hỗ trợ tự hoàn thành code - autocompletion và trực tiếp quan sát mã JavaScript được sinh ra.
```ts
// Đây là 3 khai báo kiểu biến cơ bản trong TypeScript
@ -185,8 +185,5 @@ cho chuỗi nhiều dòng`;
## Tìm hiểu thêm
* [Website TypeScript chính thức](http://www.typescriptlang.org/)
* [Đặc tả ngôn ngữ TypeScript] (https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)
* [Anders Hejlsberg - Introducing TypeScript on Channel 9] (http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [Mã nguồn trên GitHub] (https://github.com/Microsoft/TypeScript)
* [Definitely Typed - repository for type definitions] (http://definitelytyped.org/)
* [Website TypeScript chính thức](https://www.typescriptlang.org/)
* [Mã nguồn trên GitHub](https://github.com/microsoft/TypeScript)

View File

@ -171,8 +171,6 @@ of a multiline string`;
```
## 参考资料
* [TypeScript官网](http://www.typescriptlang.org/)
* [TypeScript语言规范说明书(pdf)](http://go.microsoft.com/fwlink/?LinkId=267238)
* [Anders Hejlsberg - TypeScript介绍](http://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript)
* [GitHub源码](https://github.com/Microsoft/TypeScript)
* [Definitely Typed - 类型定义仓库](http://definitelytyped.org/)
* [TypeScript官网](https://www.typescriptlang.org/)
* [GitHub源码](https://github.com/microsoft/TypeScript)