Skip to content

Commit ff43766

Browse files
committed
fix: type exports and deno tsconfig
1 parent ca93bc6 commit ff43766

7 files changed

Lines changed: 5 additions & 5 deletions

File tree

dev-packages/node-core-integration-tests/tsconfig.types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"declarationMap": true,
77
"emitDeclarationOnly": true,
88
"outDir": "build/types",
9-
"rootDir": "./src"
9+
"rootDir": "."
1010
}
1111
}

dev-packages/node-integration-tests/tsconfig.types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"declarationMap": true,
77
"emitDeclarationOnly": true,
88
"outDir": "build/types",
9-
"rootDir": "./src"
9+
"rootDir": "."
1010
}
1111
}

packages/deno/tsconfig.types.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
3+
"include": ["src/**/*", "lib.deno.d.ts"],
34
"compilerOptions": {
45
"declaration": true,
56
"declarationMap": false,

packages/nuxt/src/runtime/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ClientOptions, Context, SerializedTraceData } from '@sentry/core';
22
import { captureException, debug, getClient, getTraceMetaTags } from '@sentry/core';
3-
import type { VueOptions } from '@sentry/vue/src/types';
3+
import type { VueOptions } from '@sentry/vue';
44
import type { CapturedErrorContext } from 'nitropack/types';
55
import type { NuxtRenderHTMLContext } from 'nuxt/app';
66
import type { ComponentPublicInstance } from 'vue';

packages/sveltekit/src/server-common/handle.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ async function instrumentHandle(
128128
// to avoid doing the dynamic import on every request
129129
if (options.injectFetchProxyScript == null) {
130130
try {
131-
// @ts-expect-error - the dynamic import is fine here
132131
const { VERSION } = await import('@sveltejs/kit');
133132
options.injectFetchProxyScript = isFetchProxyRequired(VERSION);
134133
} catch {

packages/sveltekit/src/vite/svelteConfig.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export async function loadSvelteConfig(): Promise<BackwardsForwardsCompatibleSve
3939
if (!fs.existsSync(configFile)) {
4040
return {};
4141
}
42-
// @ts-expect-error - we explicitly want to import the svelte config here.
4342
const svelteConfigModule = await import(`${url.pathToFileURL(configFile).href}`);
4443

4544
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access

packages/vue/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ export { createTracingMixins } from './tracing';
1010
export { vueIntegration } from './integration';
1111
export type { VueIntegrationOptions } from './integration';
1212
export { createSentryPiniaPlugin } from './pinia';
13+
export type { VueOptions } from './types';

0 commit comments

Comments
 (0)