Partially work with @inrupt/solid-client-authn-browser.Session
#1917
Unanswered
renyuneyun
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Reproduction
Reproduction
Steps to reproduce the bug
@inrupt/solid-client-authn-browser
as a dependencystores/s.ts
) with the following content:Expected behavior
I would expect this compiles without errors.
Actual behavior
I receive the following error:
(Manually translated from Chinese to English. May contain minor mistakes.)
Additional information
This only happens when using Piana -- if you directly write
const s: Session = new Session()
, it compiles without erors.This does not affect me from using the store as long as I don't need an exact
Session
type so far. So it's a partial problem.I guess this is a bug. But because I'm new to TS/JS, this could all be an expected behaviour (e.g. the dependent library contains something unable to be stored, due to some special JS/TS rules, if any).
Sorry I can't yet pin down the exact cause of this and provide a MRE without the library (to me yet far). I totally understand this could lag the resolution.
Beta Was this translation helpful? Give feedback.
All reactions