Skip to content
New issue

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

test fix server-http1.ts: Remove typescript error in test/server-http1 for RawHeaders #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theJC
Copy link

@theJC theJC commented Mar 5, 2023

With this fix, will allow npm run build to run successfully on a freshly downloaded repo

[0] test/lib/server-http1.ts(105,30): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | readonly string[]'.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[0] yarn build:ts exited with code 2
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fetch-h2@0.0.0-development build: `concurrently 'yarn build:ts' 'yarn build:cert'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fetch-h2@0.0.0-development build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jchristiansen/.npm/_logs/2023-03-05T19_21_40_482Z-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant