developit / developit/decko

Issues with Typescript

Abierto
#19 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
1k
Forks
34
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Attempting to use `bind` throws this compilation error:

```
TS1241: Unable to resolve signature of method decorator when called as an expression.
Type 'TypedPropertyDescriptor' is not assignable to type 'void | TypedPropertyDescriptor<(userInfo: Readonly) => void>'.
Type 'TypedPropertyDescriptor' is not assignable to type 'TypedPropertyDescriptor<(userInfo: Readonly) => void>'.
Types of property 'value' are incompatible.
Type 'unknown' is not assignable to type '((userInfo: Readonly) => void) | undefined'.
Type 'unknown' is not assignable to type '(userInfo: Readonly) => void'.
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.