Skip to content

Commit d71009d

Browse files
author
prettifier[bot]
authored
Prettify MIGRANDO.md
1 parent eb6cc71 commit d71009d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

MIGRANDO.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Este Cheatsheet recopila consejos y utilidades de casos de estudios reales de eq
3232
> ⚠️ Este Cheatsheet es extremadamente nuevo y podría usar toda la ayuda que podamos obtener. Consejos sólidos, resultados, y contenido actualizado son bienvenidos.
3333
3434
## Prerrequisitos
35+
3536
Leer la [Guía oficial de TypeScript para migrar desde JS](https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html) y también deberías estar familiarizado con la [Guía de conversión de React](https://github.com/Microsoft/TypeScript-React-Conversion-Guide#typescript-react-conversion-guide).
3637

3738
## Enfoques de conversión general
@@ -118,7 +119,7 @@ Problemas a tener en cuenta:
118119
- [TypeWiz](https://github.com/urish/typewiz)
119120
- [js-to-ts-converter](https://github.com/gregjacobs/js-to-ts-converter)
120121

121-
### Conversión manual de JS a TS
122+
### Conversión manual de JS a TS
122123

123124
la estrategia de "Solo renombra"
124125

@@ -163,7 +164,6 @@ Una vez que haya terminado, trague la píldora roja apagando los `any` implícit
163164

164165
Esto generará un montón de errores de tipo y puedes comenzar a convertir archivos a TS u (opcionalmente) usar [anotaciones JSDoc](https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html) en tu JS.
165166

166-
167167
Una práctica común es usar alias de tipo TODO para `any`, para que puedas hacer un seguimiento de lo que necesita hacer luego.
168168

169169
```ts
@@ -223,7 +223,6 @@ Contenido antiguo que posiblemente esté desactualizado
223223
224224
## Diversas historias de migración de compañías notables y fuentes abiertas
225225

226-
227226
- [Adopting TypeScript at Scale - AirBnB's conversion story and strategy](https://www.youtube.com/watch?v=P-J9Eg7hJwE)
228227
- [Lyft](https://eng.lyft.com/typescript-at-lyft-64f0702346ea)
229228
- [Google](http://neugierig.org/software/blog/2018/09/typescript-at-google.html)
@@ -251,4 +250,4 @@ Código abierto
251250
[mstsreactconversionguide]: https://github.com/Microsoft/TypeScript-React-Conversion-Guide "TypeScript React Conversion Guide"
252251
[entria]: https://medium.com/entria/incremental-migration-to-typescript-on-a-flowtype-codebase-515f6490d92d "Incremental Migration to TypeScript on a Flowtype codebase"
253252
[coherentlabs]: https://hashnode.com/post/how-we-migrated-a-200k-loc-project-to-typescript-and-survived-to-tell-the-story-ciyzhikcc0001y253w00n11yb "How we migrated a 200K+ LOC project to TypeScript and survived to tell the story"
254-
[tiny]: https://go.tiny.cloud/blog/benefits-of-gradual-strong-typing-in-javascript/ "Benefits of gradual strong typing in JavaScript"
253+
[tiny]: https://go.tiny.cloud/blog/benefits-of-gradual-strong-typing-in-javascript/ "Benefits of gradual strong typing in JavaScript"

0 commit comments

Comments
 (0)