@piying/view-angular-core 2.6.5 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1496,11 +1496,10 @@ function FindConfigFactory() {
1496
1496
  return {
1497
1497
  findWrapperComponent: (wrapper) => {
1498
1498
  let config;
1499
- let type;
1500
1499
  if (typeof wrapper === 'string') {
1501
1500
  config = globalConfig?.wrappers?.[wrapper];
1502
1501
  if (!config) {
1503
- throw new Error(`🈳wrapper:[${type}]❗`);
1502
+ throw new Error(`🈳wrapper:[${wrapper}]❗`);
1504
1503
  }
1505
1504
  return config?.type;
1506
1505
  }