@solidev/data 0.8.0 → 0.8.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.
@@ -6001,10 +6001,13 @@ class Link {
6001
6001
  constructor(config, context, router) {
6002
6002
  this._cargs = {};
6003
6003
  this._params = [];
6004
- this._params = config.params || [];
6005
- this._route = config.route;
6004
+ if (!config) {
6005
+ console.warn('Link created without config');
6006
+ }
6007
+ this._params = config?.params || [];
6008
+ this._route = config?.route || (() => []);
6006
6009
  this._router = router;
6007
- this._name = config.name;
6010
+ this._name = config?.name || '';
6008
6011
  if (context) {
6009
6012
  this.context(context);
6010
6013
  }
@@ -6414,6 +6417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
6414
6417
  /*
6415
6418
  * Public API Surface of data
6416
6419
  */
6420
+ /// <reference types="@angular/localize" />
6417
6421
 
6418
6422
  /**
6419
6423
  * Generated bundle index. Do not edit.