Skip to content

Bug fix: error TS2456: Type alias 'Flattened' circularly references itself.

Not sure about this , but it's seem to work with my projects.

Is a little patch for this error i get during the compilation with npm:

Bug fix: error TS2315: Type 'Flattened' is not generic. Bug fix: error TS2456: Type alias 'Flattened' circularly references itself.

Here the full error message:

XXX/node_modules/foundry-pc-types/types/prototypes.d.ts(130,6): error TS2456: Type alias 'Flattened' circularly references itself. XXX/node_modules/foundry-pc-types/types/prototypes.d.ts(130,48): error TS2315: Type 'Flattened' is not generic. XXX/node_modules/foundry-pc-types/types/prototypes.d.ts(133,23): error TS2315: Type 'Flattened' is not generic.

Merge request reports

Loading