We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7da49b6 commit 1357fc7Copy full SHA for 1357fc7
library/agent/hooks/instrumentation/codeTransformation.ts
@@ -1,4 +1,4 @@
1
-import type { PackageInstrumentationInstruction } from "./types";
+import type { PackageFileInstrumentationInstruction } from "./types";
2
// eslint-disable-next-line camelcase
3
import { wasm_transform_code_str } from "./wasm/node_code_instrumentation";
4
import { getSourceType } from "./getSourceType";
@@ -8,7 +8,7 @@ export function transformCode(
8
code: string,
9
moduleName: string,
10
isESM: boolean,
11
- fileInstructions: PackageInstrumentationInstruction["files"][0]
+ fileInstructions: PackageFileInstrumentationInstruction
12
): string {
13
const result = wasm_transform_code_str(
14
code,
0 commit comments