Giter Site home page Giter Site logo

docs outdated? about loadtest HOT 4 OPEN

pquerner avatar pquerner commented on August 17, 2024
docs outdated?

from loadtest.

Comments (4)

alexfernandez avatar alexfernandez commented on August 17, 2024

You should definitely have a startServer() function, it's exported. What functions do you have exported?

from loadtest.

pquerner avatar pquerner commented on August 17, 2024

Its not visible in index.d.ts, maybe thats why?
I see it exported in the index.js file, but would that work for a .ts file? It doesnt know that?

from loadtest.

alexfernandez avatar alexfernandez commented on August 17, 2024

Oh, you are right! I don't use TypeScript so I have not found this issue. Care to send a patch to update index.d.ts?

from loadtest.

pquerner avatar pquerner commented on August 17, 2024

Mh I dont really know how. I will investigate if I do this right. Maybe some other typescript user here? ^^

I tried npx -p typescript tsc lib/**/*.js --declaration --allowJs --emitDeclarationOnly --outFile index.d.ts but the git diff is really scary big.

diff.txt

from: https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.html

from loadtest.

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.