Skip to content

Commit b0cabe5

Browse files
OliverJAshkamilogorek
authored andcommitted
ref[raven-js]: TypeScript - use unknown to represent error (#1874)
1 parent 28b8164 commit b0cabe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/raven-js/typescript/raven.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ declare namespace Raven {
202202
* @return {Raven}
203203
*/
204204
captureException(
205-
ex: Error | ErrorEvent | string,
205+
ex: unknown,
206206
options?: RavenOptions
207207
): RavenStatic;
208208

0 commit comments

Comments
 (0)