Traducción del archivo NodeBB/scr/messaging/unread.js de JS a TS#35
Open
A6575 wants to merge 7 commits intoUSB-CI3715:f24from
Open
Traducción del archivo NodeBB/scr/messaging/unread.js de JS a TS#35A6575 wants to merge 7 commits intoUSB-CI3715:f24from
A6575 wants to merge 7 commits intoUSB-CI3715:f24from
Conversation
… de eslint que no se pueden reparar con el flag --fix
…see errores de ESLint
… con los test aprobados
Pull Request Test Coverage Report for Build 11300737629Details
💛 - Coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proyecto 1B: Traducción del archivo src/messaging/unread.js de JS a TS
(resolves #6) En el archivo se realizaron los siguientes cambios para hacer una traducción completa de JS a TS:
importpara que sean acorde a la sintaxis de TypeScript. Se le agregó el comentario:/* eslint-disable import/no-import-module-exports */para evitar errores de importación de archivos no traducidos a TS.Messaging,TimestampDatayMidDatapara el tipado de las funciones y asignaciones de variables.eslint-disablecon los errores de@typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-accessy@typescript-eslint/no-unsafe-return, dado que los mismos están involucrados a funciones de otros archivos que no están traducidas a TS.any, mejorar el tipado de las variables y/o funciones, errores de identación, errores de espaciado y errores de longitud de línea.Important
Actualmente, con el archivo
unread.jsgenerado al compilar la traducciónunread.tsla página es 100% funcional