Skip to content

Commit

Permalink
skip ts imports for madge
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Sep 19, 2023
1 parent 74ca23c commit 4534333
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,12 @@
"volta": {
"extends": "../../package.json"
},
"sideEffects": false
"sideEffects": false,
"madge":{
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
}
8 changes: 8 additions & 0 deletions packages/vercel-edge/src/transports/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import type { BaseTransportOptions } from '@sentry/types';

export interface VercelEdgeTransportOptions extends BaseTransportOptions {
/** Fetch API init parameters. */
fetchOptions?: RequestInit;
/** Custom headers for the transport. */
headers?: { [key: string]: string };
}

0 comments on commit 4534333

Please sign in to comment.