GithubHelp home page GithubHelp logo

Comments (3)

apucacao avatar apucacao commented on June 3, 2024 1

Hi @frjtrifork,

Sorry for the inconvenience. That's a mistake on our part -- we'll make sure that the definition is part of the npm package again.

from js-client-sdk.

frjtrifork avatar frjtrifork commented on June 3, 2024

The error occurs when one of our Typescript d.ts files reference the LDClient type

lerna ERR! > react-scripts-ts build
lerna ERR!
lerna ERR! Creating an optimized production build...
lerna ERR! Starting type checking and linting service...
lerna ERR! Using 1 worker with 2048MB memory limit
lerna ERR! ts-loader: Using [email protected] and /Users/frj/dev/project/Project/tsconfig.prod.json
lerna ERR! Failed to compile.
lerna ERR!
lerna ERR! /Users/frj/dev/project/Project/packages/feature-flagging/build/LDClientWrapper.d.ts
lerna ERR! (1,26): Could not find a declaration file for module 'ldclient-js'. '/Users/frj/dev/project/Project/packages/feature-flagging/node_modules/ldclient-js/dist/ldclient.cjs.js' implicitly has an 'any' type.
lerna ERR!   Try `npm install @types/ldclient-js` if it exists or add a new declaration (.d.ts) file containing `declare module 'ldclient-js';`

from js-client-sdk.

eli-darkly avatar eli-darkly commented on June 3, 2024

This has been fixed in the 2.5.0 release.

from js-client-sdk.

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.