microsoft / microsoft/TypeScript
[playground] Show transpiled output for JavaScript inputs
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Go
- Estrellas
- 111k
- Forks
- 14.4k
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 117
Descripción
Acknowledgement
- I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment
Apologies if this is the wrong repository, I could not find one for the playground.
When setting the input language to "JavaScript", the playground does not show the transpiled code on the right. Instead, it shows the input code as-is.
You can test it by setting the target to ES2015 and writing 1 ** 2 in the input file: if the language is set to TypeScript you'll see Math.pow(1, 2) on the right (playground), while if the language is set to JavaScript you'll see 1 ** 2 (playground).
Is there a way to see the transpiled code?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el manejo de la entrada de JavaScript del TypeScript playground y compáralo con la ruta de TypeScript usando los ejemplos de ES2015 enlazados. Se considera terminado cuando introducir 1 ** 2 con JavaScript seleccionado muestra la salida transpilada Math.pow(1, 2), igual que en el caso de TypeScript.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, typescript
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100