Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Record as type alias #103

Open
Falx opened this issue May 17, 2022 · 0 comments
Open

Support Record as type alias #103

Falx opened this issue May 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Falx
Copy link

Falx commented May 17, 2022

Although Record support has been added in #47 and type alias support is mentioned in #86, it seems that the combination of the two is still not working. The following statement:

export type ValuePreferences = Record<string, number>;

Produces an error when the ValuePreferences is used as a type in the code:

Could not load class or interface or other type Record from C:\Users\tdupont\Workspaces\CommunitySolidServer\dist\http\representation\RepresentationPreferences
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants