Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Feb 27, 2025
1 parent 7da49b6 commit 1357fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/agent/hooks/instrumentation/codeTransformation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PackageInstrumentationInstruction } from "./types";
import type { PackageFileInstrumentationInstruction } from "./types";
// eslint-disable-next-line camelcase
import { wasm_transform_code_str } from "./wasm/node_code_instrumentation";
import { getSourceType } from "./getSourceType";
Expand All @@ -8,7 +8,7 @@ export function transformCode(
code: string,
moduleName: string,
isESM: boolean,
fileInstructions: PackageInstrumentationInstruction["files"][0]
fileInstructions: PackageFileInstrumentationInstruction
): string {
const result = wasm_transform_code_str(
code,
Expand Down

0 comments on commit 1357fc7

Please sign in to comment.