mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: typings
This commit is contained in:
1 parent
9b82b624cf
commit
be1b5c55b3
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user