Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agregar soporte para exportar interfaces #2

Open
durancristhian opened this issue May 23, 2017 · 0 comments
Open

Agregar soporte para exportar interfaces #2

durancristhian opened this issue May 23, 2017 · 0 comments

Comments

@durancristhian
Copy link

Definir un archivo por convención (podría ser /src/type.ts) que se encargue de exportar las interfaces que queremos que otros proyectos puedan consumir

Para que eso pase, deberíamos:

  1. Agregar "declaration": true al tsconfig.json
  2. Agregar al package.json la siguiente información: "typings": "dist/types.d.ts" que es el file que va a contener las interfaces que exportamos

Este issue es el boilerplate para el PR que voy a hacer mañana agregando esto 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant