Giter VIP home page Giter VIP logo

Comments (9)

ryandrewjohnson avatar ryandrewjohnson commented on May 18, 2024 1

K problem is the fix I made to make in 2.17.3 didn't make it in. Currently the TS definition incorrectly exports Translate as default.

// current index.d.ts has this...
export default class Translate extends ReactComponent<TranslateProps> {}

// should be this...
export class Translate extends ReactComponent<TranslateProps> {}

I have the fix, but I won't be able to publish until this evening.

In the meantime if you want to manually update your index.d.ts file this should fix the issue until I can publish a new package this evening.

@gnyekhelyi I was able to publish the fix with the proper export in v2.17.4. Please let me know if this solves the issue you're having.

from react-localize-redux.

RikuVan avatar RikuVan commented on May 18, 2024 1

yep I had the same issue. Seems ok, although I am still refactoring now to update with the new api.

from react-localize-redux.

ryandrewjohnson avatar ryandrewjohnson commented on May 18, 2024

@gnyekhelyi what version of react-localize-redux you using? Also are you using Typescript, and if so which version?

from react-localize-redux.

gnyekhelyi avatar gnyekhelyi commented on May 18, 2024

I'm using react-localize-redux 2.17.3 and typescript 2.7.2.

package.json.txt

from react-localize-redux.

gnyekhelyi avatar gnyekhelyi commented on May 18, 2024

Ok, thank you!

from react-localize-redux.

ryandrewjohnson avatar ryandrewjohnson commented on May 18, 2024

@gnyekhelyi let me know if you have any interest in helping with #69.

from react-localize-redux.

RikuVan avatar RikuVan commented on May 18, 2024

Thanks for the quick response. I am using your lib in a new project with TypeScript and would like to see it keep working. I might be able to lend a hand with typings, if nothing else at then at least two smoke test new typings. I am pretty new to Typescript though.

from react-localize-redux.

ryandrewjohnson avatar ryandrewjohnson commented on May 18, 2024

@RikuVan any help would be appreciated! Also did that latest release v2.17.4 fix the issue you were having?

from react-localize-redux.

ryandrewjohnson avatar ryandrewjohnson commented on May 18, 2024

Closing this issue based on RikuVan’s feedback.

from react-localize-redux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.