@via-profit/ability 3.7.1 → 3.7.4

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.
package/dist/index.d.ts CHANGED
@@ -225,10 +225,11 @@ type AbilityExplainConfig = {
225
225
  declare class AbilityExplain {
226
226
  readonly type: AbilityExplainType;
227
227
  readonly children: AbilityExplain[];
228
- readonly name: string;
228
+ readonly _name: string;
229
229
  readonly match: AbilityMatchType;
230
230
  readonly debugInfo?: string;
231
231
  constructor(config: AbilityExplainConfig, children?: AbilityExplain[]);
232
+ get name(): string;
232
233
  toString(indentPrefix?: string, isLast?: boolean): string;
233
234
  }
234
235
  declare class AbilityExplainRule extends AbilityExplain {