You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/02/28 12:43:06 UTC
[GitHub] [couchdb-nano] AZchVVT opened a new issue #209: version 8.2.0 did
not work with typescript (3.7.5) node version 13.9.0
AZchVVT opened a new issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209
Errors:
node_modules/nano/lib/nano.d.ts(48,5): error TS7010: 'followUpdates', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(49,5): error TS7010: 'followUpdates', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(54,5): error TS7010: 'follow', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(69,16): error TS7006: Parameter 'source' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(69,24): error TS7006: Parameter 'target' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(69,32): error TS7006: Parameter 'opts0' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(69,39): error TS7006: Parameter 'callback0' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(70,17): error TS7006: Parameter 'id' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(70,21): error TS7006: Parameter 'rev' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(70,26): error TS7006: Parameter 'opts0' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(70,33): error TS7006: Parameter 'callback0' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(71,15): error TS7006: Parameter 'id' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(71,19): error TS7006: Parameter 'opts0' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(71,26): error TS7006: Parameter 'callback0' implicitly has an 'any' type.
node_modules/nano/lib/nano.d.ts(108,5): error TS7010: 'follow', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(110,5): error TS7010: 'followUpdates', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(111,5): error TS7010: 'followUpdates', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(140,5): error TS7010: 'follow', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/nano/lib/nano.d.ts(141,5): error TS7010: 'follow', which lacks return-type annotation, implicitly has an 'any' return type.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird commented on issue #209: version 8.2.0 did
not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592620031
oooh `tsc --strict....` seems to do the trick....
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] fox1t commented on issue #209: version 8.2.0 did not
work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
fox1t commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592678757
Unfortunately TS compiler checks also dependencies typings. Is it feasible to add the missing types?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird closed issue #209: version 8.2.0 did not
work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird closed issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] fox1t edited a comment on issue #209: version 8.2.0
did not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
fox1t edited a comment on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592608993
Hi there. We have same errors on our build since 8.2.0
`typescript: "~3.8.2"`
`node: "12.16.1"`
This is the repo:
https://github.com/HospitalRun/hospitalrun-server
and this is the failing build:
https://travis-ci.com/HospitalRun/hospitalrun-server/builds/151059091
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] fox1t commented on issue #209: version 8.2.0 did not
work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
fox1t commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-593394126
@glynnbird Thanks for your celerity!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] brandonpsmith edited a comment on issue #209:
version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
brandonpsmith edited a comment on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592701822
you can use the --skipLibCheck flag in your ts compiler options. i hope this gets fixed so i can use strict and not have to skip the lib check. WARNING: this skips all declaration files (*.d.ts)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] brandonpsmith commented on issue #209: version 8.2.0
did not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
brandonpsmith commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592701822
you can use the --skipLibCheck flag in your ts compiler options. i hope this get's fixed so i can use strict and not have to skip the lib check. WARNING: this skips all declaration files (*.d.ts)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird commented on issue #209: version 8.2.0 did
not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-593068400
@fox1t @brandonpsmith this is fixed and waiting review + release
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] fox1t commented on issue #209: version 8.2.0 did not
work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
fox1t commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592608993
Hi there. We have same errors on our build since 8.2.0
`typescript: "~3.8.2"`
`node: "12.16.1"`
This is the repo:
https://github.com/HospitalRun/hospitalrun-server
and this is the failing build:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird commented on issue #209: version 8.2.0 did
not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-593356007
Fixed in 8.2.1
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird commented on issue #209: version 8.2.0 did
not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592506833
The Nano TypeScript definitions are now tested and show no errors on various versions of Node we test agains. However, your logs show reasonable errors which could be corrected. Can you specify how you errors?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] fox1t edited a comment on issue #209: version 8.2.0
did not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
fox1t edited a comment on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592608993
Hi there. We have same errors on our build since 8.2.0
`typescript: "~3.8.2"`
`node: "12.16.1"`
This is the repo:
https://github.com/HospitalRun/hospitalrun-server
and this is the failing build:
https://travis-ci.com/HospitalRun/hospitalrun-server/builds/151059091?utm_medium=notification&utm_source=email
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] brandonpsmith commented on issue #209: version 8.2.0
did not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
brandonpsmith commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-593198898
@glynnbird thank you for the quick work
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird edited a comment on issue #209: version
8.2.0 did not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird edited a comment on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592506833
The Nano TypeScript definitions are now tested and show no errors on various versions of Node we test against. However, your logs show reasonable errors which could be corrected. Can you specify how you generated the errors?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [couchdb-nano] glynnbird commented on issue #209: version 8.2.0 did
not work with typescript (3.7.5) node version 13.9.0
Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #209: version 8.2.0 did not work with typescript (3.7.5) node version 13.9.0
URL: https://github.com/apache/couchdb-nano/issues/209#issuecomment-592619522
I see the errors @fox1t , but how can I reproduce them on my machine or on Travis. If I do `tsc lib/nano.d.ts` I get no errors?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services