Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

183
Views
Las declaraciones de tipo de paquete de paquetes no están expuestas

Así que estoy construyendo una biblioteca mecanografiada pura y usando el paquete como paquete. cuando se construye, genera 3 archivos en la carpeta ./lib index.cjs.js index.es.js e index.d.ts ahora se construyen bien y se ven bien, pero al instalarlo en la biblioteca, los tipos simplemente no vienen arriba. Estas son las configuraciones en mi package.json . Porfavor gracias.

 "main": "lib/index.cjs.js", "module": "lib/index.es.js", "source": "./src/index.ts", "types": "lib/index.d.ts", "transformers": { "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"] }, "scripts": { "test": "jest", "build": "rm -rf ./lib && parcel build --no-source-maps --no-cache", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" },
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!