Skip to content

Commit 7790b3c

Browse files
committed
chore: add reference to global types in runtime-core
1 parent 698008c commit 7790b3c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/runtime-core/src/define.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference types="../../../runtime/v1/global.d.ts" />
2+
13
import type { z } from 'zod';
24

35
import type { InstrumentKind, InstrumentLanguage } from './types/instrument.base.js';

packages/runtime-core/tsconfig.build.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
"declaration": true,
55
"noEmit": false,
6-
"outDir": "lib"
6+
"outDir": "lib",
7+
"rootDir": "src",
8+
"tsBuildInfoFile": "./lib/.tsbuildinfo"
79
},
810
"include": ["src/**/*"],
911
"exclude": ["src/**/__tests__/**"]

0 commit comments

Comments
 (0)