We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code in the README:
app.use( '/thrift', bodyParser.raw(), ThriftServerExpress(Calculator.Processor, serviceHandlers), )
issues this error:
const serviceHandlers: Calculator.IHandler<express.Request<ParamsDictionary, any, any, QueryString.ParsedQs, Record<string, any>>> Expected 1 arguments, but got 2.ts(2554)
Also import * as express from 'express' should be import express from 'express', otherwise an error is issued.
import * as express from 'express'
import express from 'express'
The text was updated successfully, but these errors were encountered:
I've got the same error. It seems that the code in the readme is not up-to-date. You look here to find you answers https://github.com/creditkarma/thrift-server/tree/master/packages/thrift-server-express
Sorry, something went wrong.
No branches or pull requests
The code in the README:
issues this error:
Also
import * as express from 'express'
should beimport express from 'express'
, otherwise an error is issued.The text was updated successfully, but these errors were encountered: