I am creating an npm package and it mostly works but I cannot use
import { dialog, specificCharacter } from 'anomaly-packer'
because generated texts.js file is the only one that is missing a declaration file so I cannot have types from this specific module like dialog and specificCharacter functions after installing this package.
// src/index.ts
export * from './pack'
export * from './texts'
I also checked that my texts.ts has at least 1 export, it's got 4 exported functions, more than that it's also used by the pack.ts
// src/pack.ts
import * as texts from './texts'
ps I also have some error logs after running tsc but my dist dir is created anyways, it's just this one file that does not recieve a corresponding d.ts 🙃