fix: typings

This commit is contained in:
Torsten Dittmann committed 2023-02-13 12:31:38 +01:00
1 parent 9b82b624cf
commit be1b5c55b3
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ export function trackEvent(name: string, data: object = null): void {
}
}
export function trackError(exception: AppwriteException, event: Submit): void {
export function trackError(exception: Error, event: Submit): void {
if (exception instanceof AppwriteException && exception.type) {
trackEvent(Submit.Error, {
type: exception.type,