You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
With a brand new module, that only has @google-cloud/logging-bunyan and bunyan installed, I get this error message:
> tsc -p .
node_modules/@google-cloud/logging/build/src/middleware/express/make-middleware.d.ts:16:49 - error TS7016: Could not find a declaration file for module 'express'. '/Users/beckwith/Code/node_modules/express/index.js' implicitly has an 'any' type.
Try `npm install @types/express` if it exists or add a new declaration (.d.ts) file containing `declare module 'express';`
16 import { Request, Response, NextFunction } from 'express';
~~~~~~~~~
Installing @types/express made the bad message go away. We should probably be distributing those types along with the package.
With a brand new module, that only has
@google-cloud/logging-bunyanandbunyaninstalled, I get this error message:Installing
@types/expressmade the bad message go away. We should probably be distributing those types along with the package.