summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-04-18 21:34:40 -0700
committerBoris Verkhovskiy <boris.verk@gmail.com>2024-04-18 22:24:06 -0700
commitbaf63b1f0838fc078f0221bdeb2cf12baeccf6c2 (patch)
tree211b6fcb630410124db0580709325e20a28eaa87
parent51ff67f3a99aab1d001ecb75773daeeffecd406e (diff)
[typescript/*] remove dead links and format
-rw-r--r--es-es/typescript-es.html.markdown12
-rw-r--r--fr-fr/typescript-fr.html.markdown14
-rw-r--r--hu-hu/typescript-hu.html.markdown16
-rw-r--r--it-it/typescript-it.html.markdown12
-rw-r--r--nl-nl/typescript-nl.html.markdown12
-rw-r--r--pt-br/typescript-pt.html.markdown10
-rw-r--r--ru-ru/typescript-ru.html.markdown18
-rw-r--r--th-th/typescript.th.html.markdown14
-rw-r--r--tr-tr/typescript-tr.html.markdown12
-rw-r--r--typescript.html.markdown14
-rw-r--r--vi-vn/typescript-vi.html.markdown9
-rw-r--r--zh-cn/typescript-cn.html.markdown8
12 files changed, 64 insertions, 87 deletions
diff --git a/es-es/typescript-es.html.markdown b/es-es/typescript-es.html.markdown
index 053f2beb..607a1beb 100644
--- a/es-es/typescript-es.html.markdown
+++ b/es-es/typescript-es.html.markdown
@@ -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)
diff --git a/fr-fr/typescript-fr.html.markdown b/fr-fr/typescript-fr.html.markdown
index bd84bd7b..787b9a05 100644
--- a/fr-fr/typescript-fr.html.markdown
+++ b/fr-fr/typescript-fr.html.markdown
@@ -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
@@ -65,7 +65,7 @@ interface Person {
move(): void;
}
-// Un objet implémentant l'interface "Person" peut être traité comme
+// Un objet implémentant l'interface "Person" peut être traité comme
// une Person car il a les propriétés "name" et "move"
var p: Person = { name: "Bobby", move: () => {} };
// Des objets implémentants la propriété optionnelle :
@@ -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)
diff --git a/hu-hu/typescript-hu.html.markdown b/hu-hu/typescript-hu.html.markdown
index 63c5d8bf..96fdc7c3 100644
--- a/hu-hu/typescript-hu.html.markdown
+++ b/hu-hu/typescript-hu.html.markdown
@@ -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
@@ -53,11 +53,11 @@ var f2 = function(i: number) { return i * i; }
var f3 = (i: number): number => { return i * i; }
// Következtetett visszatérési értékkel
var f4 = (i: number) => { return i * i; }
-// Következtetett visszatérési értékkel,
+// Következtetett visszatérési értékkel,
// ebben az egysoros formában nem szükséges a return kulcsszó
var f5 = (i: number) => i * i;
-// Az interfészek szerkezeti alapon működnek, vagyis minden objektum, ahol
+// Az interfészek szerkezeti alapon működnek, vagyis minden objektum, ahol
// jelen vannak a megfelelő mezők kompatibilis az interfésszel
interface Person {
name: string;
@@ -92,7 +92,7 @@ class Point {
// Konstruktor - a public/private kulcsszavak ebben a kontextusban
// legenerálják a mezőkhöz szükséges kódot a konstruktorban.
- // Ebben a példában az "y" ugyanúgy definiálva lesz, mint az "x", csak
+ // Ebben a példában az "y" ugyanúgy definiálva lesz, mint az "x", csak
// kevesebb kóddal.
// Alapértelmezett (default) értékek is megadhatóak.
@@ -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)
diff --git a/it-it/typescript-it.html.markdown b/it-it/typescript-it.html.markdown
index b78705c5..a0a256af 100644
--- a/it-it/typescript-it.html.markdown
+++ b/it-it/typescript-it.html.markdown
@@ -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
@@ -118,7 +118,7 @@ class Punto {
}
// Le classi possono anche implementare esplicitamente delle interfacce.
-// Il compilatore restituirà un errore nel caso in cui manchino delle proprietà.
+// Il compilatore restituirà un errore nel caso in cui manchino delle proprietà.
class PersonaDiRiferimento implements Persona {
nome: string
saluta() {}
@@ -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)
diff --git a/nl-nl/typescript-nl.html.markdown b/nl-nl/typescript-nl.html.markdown
index d228809f..75f37b1e 100644
--- a/nl-nl/typescript-nl.html.markdown
+++ b/nl-nl/typescript-nl.html.markdown
@@ -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)
diff --git a/pt-br/typescript-pt.html.markdown b/pt-br/typescript-pt.html.markdown
index 5888b641..f2eeadc3 100644
--- a/pt-br/typescript-pt.html.markdown
+++ b/pt-br/typescript-pt.html.markdown
@@ -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)
diff --git a/ru-ru/typescript-ru.html.markdown b/ru-ru/typescript-ru.html.markdown
index 27260079..247f1677 100644
--- a/ru-ru/typescript-ru.html.markdown
+++ b/ru-ru/typescript-ru.html.markdown
@@ -10,13 +10,13 @@ filename: learntypescript-ru.ts
---
TypeScript — это язык программирования, целью которого является лёгкая разработка широко масштабируемых JavaScript-приложений.
-TypeScript добавляет в Javascript общие концепции, такие как классы, модули, интерфейсы, обобщённое программирование и (опционально) статическую типизацию.
-Это надмножество языка JavaScript: весь JavaScript-код является валидным TypeScript-кодом, следовательно, может быть добавлен бесшовно в любой проект.
+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
@@ -87,7 +87,7 @@ mySearch = function(src: string, sub: string) {
// Классы. Члены класса по умолчанию являются публичными
class Point {
- // Свойства
+ // Свойства
x: number;
// Конструктор — ключевые слова public/private в данном контексте сгенерируют
@@ -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)
diff --git a/th-th/typescript.th.html.markdown b/th-th/typescript.th.html.markdown
index ed231af6..955f01c0 100644
--- a/th-th/typescript.th.html.markdown
+++ b/th-th/typescript.th.html.markdown
@@ -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 แบบ
@@ -71,7 +71,7 @@ interface Person {
move(): void;
}
-// Object นี้ implements "Person" interface ทำให้มันเป็นชนิด Person และมันก็มี property name และ function move()
+// Object นี้ implements "Person" interface ทำให้มันเป็นชนิด Person และมันก็มี property name และ function move()
let p: Person = { name: "Bobby", move: () => { } };
// Objects นี้เป็นชนิด Person ด้วย และมี optional property หรือ age?: นั่นเอง
let validPerson: Person = { name: "Bobby", age: 42, move: () => { } };
@@ -216,7 +216,7 @@ moreNumbers.length = 3; // Error, เพราะ length ก็ต้อง read
numbers = moreNumbers; // Error, method ที่ทำให้อะเรย์เปลี่ยนได้จะไม่อนุญาต
// Tagged Union Types สำหรับโมเดลสเตท ที่อาจจะมีได้หลายๆ สเตท
-type State =
+type State =
| { type: "loading" }
| { type: "success", value: number }
| { type: "error", message: string };
@@ -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)
diff --git a/tr-tr/typescript-tr.html.markdown b/tr-tr/typescript-tr.html.markdown
index 840d67f2..95b46167 100644
--- a/tr-tr/typescript-tr.html.markdown
+++ b/tr-tr/typescript-tr.html.markdown
@@ -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)
diff --git a/typescript.html.markdown b/typescript.html.markdown
index 6346a986..f8e78d44 100644
--- a/typescript.html.markdown
+++ b/typescript.html.markdown
@@ -227,7 +227,7 @@ moreNumbers.length = 3; // Error, length is read-only
numbers = moreNumbers; // Error, mutating methods are missing
// Tagged Union Types for modelling state that can be in one of many shapes
-type State =
+type State =
| { type: "loading" }
| { type: "success", value: number }
| { type: "error", message: string };
@@ -275,11 +275,11 @@ let foo = {} // Creating foo as an empty object
foo.bar = 123 // Error: property 'bar' does not exist on `{}`
foo.baz = 'hello world' // Error: property 'baz' does not exist on `{}`
-// Because the inferred type of foo is `{}` (an object with 0 properties), you
+// Because the inferred type of foo is `{}` (an object with 0 properties), you
// are not allowed to add bar and baz to it. However with type assertion,
// the following will pass:
-interface Foo {
+interface Foo {
bar: number;
baz: string;
}
@@ -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/)
diff --git a/vi-vn/typescript-vi.html.markdown b/vi-vn/typescript-vi.html.markdown
index 80c3e149..c8cbd2bb 100644
--- a/vi-vn/typescript-vi.html.markdown
+++ b/vi-vn/typescript-vi.html.markdown
@@ -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)
diff --git a/zh-cn/typescript-cn.html.markdown b/zh-cn/typescript-cn.html.markdown
index 4af7f783..ce8f671c 100644
--- a/zh-cn/typescript-cn.html.markdown
+++ b/zh-cn/typescript-cn.html.markdown
@@ -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)