Skip to content

Commit 1357fc7

Browse files
committed
Fix types
1 parent 7da49b6 commit 1357fc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/agent/hooks/instrumentation/codeTransformation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { PackageInstrumentationInstruction } from "./types";
1+
import type { PackageFileInstrumentationInstruction } from "./types";
22
// eslint-disable-next-line camelcase
33
import { wasm_transform_code_str } from "./wasm/node_code_instrumentation";
44
import { getSourceType } from "./getSourceType";
@@ -8,7 +8,7 @@ export function transformCode(
88
code: string,
99
moduleName: string,
1010
isESM: boolean,
11-
fileInstructions: PackageInstrumentationInstruction["files"][0]
11+
fileInstructions: PackageFileInstrumentationInstruction
1212
): string {
1313
const result = wasm_transform_code_str(
1414
code,

0 commit comments

Comments
 (0)