refactor(sentry): enable isolated declarations (#1205)
parent
8303d979f1
commit
f0475c7324
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@hono/sentry': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add explicit `Toucan` return type
|
|
@ -55,6 +55,6 @@ export const sentry = (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getSentry = (c: Context) => {
|
export const getSentry = (c: Context): Toucan => {
|
||||||
return c.get('sentry')
|
return c.get('sentry')
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
"tsBuildInfoFile": "dist/tsconfig.build.tsbuildinfo",
|
||||||
"emitDeclarationOnly": false
|
"emitDeclarationOnly": false,
|
||||||
|
"isolatedDeclarations": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts"],
|
"include": ["src/**/*.ts"],
|
||||||
"exclude": ["**/*.test.ts"],
|
"exclude": ["**/*.test.ts"],
|
||||||
|
|
Loading…
Reference in New Issue