@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/README.md +38 -362
- package/dist/index.cjs +1 -3435
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -3399
- package/package.json +3 -3
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
|
|
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 {
|