Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcorlin1 committed Jan 16, 2024
1 parent ad4e249 commit e0db415
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions packages/esbuild-plugin-node/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,6 @@ type _RemoveFunctions<T> = {
// _RemoveFunctions does not work on optional fields, so first make the type required then apply Partial to the result
export type RemoveFunctions<T> = Partial<_RemoveFunctions<Required<T>>>;

// type BuiltinPackage =
// | '@opentelemetry/instrumentation-dns'
// | '@opentelemetry/instrumentation-fs'
// | '@opentelemetry/instrumentation-http'
// | '@opentelemetry/instrumentation-net';

// export type NonBuiltinPackage = Exclude<
// keyof InstrumentationConfigMap,
// BuiltinPackage
// >;

// type NonBuiltinInstrumentationConfigMap = Pick<
// InstrumentationConfigMap,
// NonBuiltinPackage
// >;

// export type EsbuildInstrumentationConfigMap = {
// [K in keyof InstrumentationConfigMap]: RemoveFunctions<
// NonBuiltinInstrumentationConfigMap[K]
// >;
// };

type BuiltinPackages =
| '@opentelemetry/instrumentation-dns'
| '@opentelemetry/instrumentation-fs'
Expand Down

0 comments on commit e0db415

Please sign in to comment.