louislam/uptime-kuma

Typescript functionality?

Aberta

#2.436 aberto em 19 de dez. de 2022

 (1 comentário) (1 reação) (0 responsável)JavaScript (7.844 forks)batch import
A:corefeature-requesthelp wanted

Métricas do repositório

Stars
 (86.760 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 15h) (21 fundiu PRs em 30d)

Description

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

Other

🔖 Feature description

What is the feeling for enabling typescript support? JSDoc is fine and good, but nothing beats typescript, it should of course be an opt in instead of converting everything to typescript at once.

I spent some time looking into it and it should be quite easy to enable, some Eslint issues was my main issues.

  • I would be willing to spend some more time investigating typescript and creating a PR if people actually want typescript.

EDIT: I see that enabling typescript will be a breaking change as it requires modifications to the current release process and all docker images as they do not use built code, only source code with npm ci for downloading node_modules. So the task is bigger than I thought

Guia do colaborador