Skip to content

Commit cac6312

Browse files
authored
fix(build): Fix express import in gcpfunction (#5097)
This fixes a spot where we're importing types only to _say_ that we're importing types only, in order to get rid of a warning in build. (If we don't say so, it gets mad because we only have `@types/express`, not `express`, as a listed dependency.)
1 parent 3534f15 commit cac6312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/serverless/src/gcpfunction/general.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Scope } from '@sentry/node';
22
import { Context as SentryContext } from '@sentry/types';
3-
import { Request, Response } from 'express'; // eslint-disable-line import/no-extraneous-dependencies
3+
import type { Request, Response } from 'express';
44
import { hostname } from 'os';
55

66
export interface HttpFunction {

0 commit comments

Comments
 (0)