Please make sure you have searched for information in the following guides.
Library Name
@google-cloud/precise-date
A screenshot that you have tested with "Try this API".
After upgrading my project to TypeScript 7, I get the following error when trying to compile:
$ tsc -b tsconfig.build.json
node_modules/@google-cloud/precise-date/build/src/index.d.ts:58:13 - error TS8023: JSDoc '@extends external' does not match the 'extends Date' clause.
58 * @extends external:Date
~~~~~~~~
Found 1 error in node_modules/@google-cloud/precise-date/build/src/index.d.ts:58
I don't use @google-cloud/precise-date directly, it's a dependency of @google-cloud/pubsub. I had hoped that v6.0.0 released today would fix it, so I added an entry in resolutions to force it to 6.0.0, but the issue remains.
I have created a minimal repro, keeping things as simple as possible to eliminate other possible causes.
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
https://github.com/tlevesque-ueat/ts7-google-cloud-precise-date-bug
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
Install npm packages and compile as indicated in the repro link
npm install
npm run compile
A clear and concise description of what the bug is, and what you expected to happen.
Should compile without error
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
Because it should work with TypeScript 7
Please make sure you have searched for information in the following guides.
Library Name
@google-cloud/precise-date
A screenshot that you have tested with "Try this API".
After upgrading my project to TypeScript 7, I get the following error when trying to compile:
I don't use @google-cloud/precise-date directly, it's a dependency of @google-cloud/pubsub. I had hoped that v6.0.0 released today would fix it, so I added an entry in
resolutionsto force it to 6.0.0, but the issue remains.I have created a minimal repro, keeping things as simple as possible to eliminate other possible causes.
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
https://github.com/tlevesque-ueat/ts7-google-cloud-precise-date-bug
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
Install npm packages and compile as indicated in the repro link
A clear and concise description of what the bug is, and what you expected to happen.
Should compile without error
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
Because it should work with TypeScript 7