I think that in the typings the type of SlLoginSession.profile should be any instead of string. SlUserDoc.profile is of type any (which I think is correct), and SlLoginSession.profile is copied from SlUserDoc.profile in User.createSession(), so it should have the same type.
Hi,
I think that in the typings the type of
SlLoginSession.profile
should beany
instead ofstring
.SlUserDoc.profile
is of typeany
(which I think is correct), andSlLoginSession.profile
is copied fromSlUserDoc.profile
inUser.createSession()
, so it should have the same type.