LinkedSoftwareDependencies / Components-Generator.js

⚙️ Generate Components.js component files from TypeScript
13 stars 7 forks source link

Support Record as type alias #103

Open Falx opened 2 years ago

Falx commented 2 years ago

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