i18next / i18next-parser

Parse your code to extract translation keys/values and manage your catalog files
MIT License
486 stars 198 forks source link

Exports missing from TS definition file index.d.ts #1000

Open woutervanvliet opened 6 months ago

woutervanvliet commented 6 months ago

🐛 Bug Report

Can't import transform, gulp, parser and broccoli from i18next-parser in a TypeScript project

To Reproduce

Begin with a TypeScript project, and create a new typescript file with the following contents:

import { transform, gulp, broccoli, parser } from 'i18next-parser'

and observe the TypeScript error:

Module '"i18next-parser"' has no exported member 'transform'

Expected behavior

Being able to import transform etc from the package

Your Environment

etsraphael commented 5 months ago

Same issue here

kevinxh commented 3 weeks ago

This problem still exists in the newer major version 9.0.2