·function-type-expressions
</>

function-type-expressions

Úselo al escribir múltiples funciones con la misma firma. Úselo al implementar devoluciones de llamadas. Úselo cuando coincida con tipos de funciones existentes.

4Instalaciones·0Tendencia·@marius-townhouse

Instalación

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill function-type-expressions

Cómo instalar function-type-expressions

Instala rápidamente el skill de IA function-type-expressions en tu entorno de desarrollo mediante línea de comandos

  1. Abrir Terminal: Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.)
  2. Ejecutar comando de instalación: Copia y ejecuta este comando: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill function-type-expressions
  3. Verificar instalación: Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code, Cursor u OpenClaw

Fuente: marius-townhouse/effective-typescript-skills.

SKILL.md

Ver original

When using function expressions (not statements), you can apply a type to the entire function. This reduces repetition, improves type safety, and makes code more readable.

Without the function type, this would only error at call sites.

Response: With shared signatures, centralizing the type removes noise.

Úselo al escribir múltiples funciones con la misma firma. Úselo al implementar devoluciones de llamadas. Úselo cuando coincida con tipos de funciones existentes. Fuente: marius-townhouse/effective-typescript-skills.

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill function-type-expressions
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-26
Actualizado
2026-03-11

Browse more skills from marius-townhouse/effective-typescript-skills

Respuestas rápidas

¿Qué es function-type-expressions?

Úselo al escribir múltiples funciones con la misma firma. Úselo al implementar devoluciones de llamadas. Úselo cuando coincida con tipos de funciones existentes. Fuente: marius-townhouse/effective-typescript-skills.

¿Cómo instalo function-type-expressions?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill function-type-expressions Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code, Cursor u OpenClaw

¿Dónde está el repositorio de origen?

https://github.com/marius-townhouse/effective-typescript-skills