@dnd-ed/jsshenanigans 1.1.0 → 1.1.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.
package/src/tools.d.ts CHANGED
@@ -1,28 +1,28 @@
1
- export interface SkillInfo {
2
- kind?: string | null;
3
- name?: string | null;
4
- fields?: string[];
5
- nodes?: Array<string | undefined>;
6
- conditions?: Array<string | undefined>;
7
- branches?: string[];
8
- raw?: unknown;
9
- }
10
-
11
- export interface DescribeResult {
12
- skill_count: number;
13
- skills: SkillInfo[];
14
- }
15
-
16
- /**
17
- * Return the full payload of `code` as pretty-printed JSON.
18
- *
19
- * @param code A character code.
20
- * @param options `indent` (default 2) and `expand_data` (default true).
21
- */
22
- export declare function dumps(
23
- code: string,
24
- options?: { indent?: number; expand_data?: boolean },
25
- ): string;
26
-
27
- /** Return a compact structural summary of a character code. */
28
- export declare function describe(code: string): DescribeResult;
1
+ export interface SkillInfo {
2
+ kind?: string | null;
3
+ name?: string | null;
4
+ fields?: string[];
5
+ nodes?: Array<string | undefined>;
6
+ conditions?: Array<string | undefined>;
7
+ branches?: string[];
8
+ raw?: unknown;
9
+ }
10
+
11
+ export interface DescribeResult {
12
+ skill_count: number;
13
+ skills: SkillInfo[];
14
+ }
15
+
16
+ /**
17
+ * Return the full payload of `code` as pretty-printed JSON.
18
+ *
19
+ * @param code A character code.
20
+ * @param options `indent` (default 2) and `expand_data` (default true).
21
+ */
22
+ export declare function dumps(
23
+ code: string,
24
+ options?: { indent?: number; expand_data?: boolean },
25
+ ): string;
26
+
27
+ /** Return a compact structural summary of a character code. */
28
+ export declare function describe(code: string): DescribeResult;