From af46a2d86fd3b9d1c7cc88551d68cf0c163e40f9 Mon Sep 17 00:00:00 2001 From: Apperside Date: Mon, 17 Sep 2018 09:28:01 +0200 Subject: [PATCH] Fixed the type definition for Realm.Permissions.User (#2013) The identity field was wrong, it should have been id instead --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 3051ece6..55e0b86d 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -591,7 +591,7 @@ declare namespace Realm.Permissions { class User { static schema: ObjectSchema; - identity: string; + id: string; } class Role {