ts-graphviz 1.5.6-dev.ef6c929b6 → 1.6.1-dev.39dd9d4de
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 +80 -2
- package/lib/adapter/node/index.d.ts +1 -1
- package/lib/adapter/types/index.d.ts +12 -2
- package/lib/ast/index.cjs +2 -2
- package/lib/ast/index.d.ts +18 -13
- package/lib/ast/index.js +2 -2
- package/lib/common/index.d.ts +3861 -1281
- package/lib/core/index.d.ts +5 -2482
- package/lib/index.d.ts +1 -0
- package/lib/utils/index.d.ts +8 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
*/
|
|
4
|
+
type $keywords<T extends string> = {
|
|
5
|
+
[key in T]: key;
|
|
6
|
+
};
|
|
7
|
+
|
|
1
8
|
type F<A extends any[], O> = (...args: A) => O;
|
|
2
9
|
type IO<I, O> = F<[I], O>;
|
|
3
10
|
declare function pipe<I extends any[], O>(f0: F<I, O>): F<I, O>;
|
|
@@ -19,4 +26,4 @@ declare function pipe<I extends any[], T1, T2, T3, T4, O>(
|
|
|
19
26
|
declare const map: <T, O>(selector: (item: T) => O) => (src: Iterable<T>) => O[];
|
|
20
27
|
declare const filter: <T>(pred: (item: T) => boolean) => (src: Iterable<T>) => T[];
|
|
21
28
|
|
|
22
|
-
export { F, IO, filter, map, pipe };
|
|
29
|
+
export { $keywords, F, IO, filter, map, pipe };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-graphviz",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1-dev.39dd9d4de",
|
|
4
4
|
"author": "kamiazya <yuki@kamiazya.tech>",
|
|
5
5
|
"description": "Graphviz library for TypeScript.",
|
|
6
6
|
"homepage": "https://ts-graphviz.github.io/ts-graphviz/",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"funding": {
|
|
20
20
|
"type": "github",
|
|
21
|
-
"url": "https://github.com/sponsors/
|
|
21
|
+
"url": "https://github.com/sponsors/ts-graphviz"
|
|
22
22
|
},
|
|
23
23
|
"main": "./lib/index.cjs",
|
|
24
24
|
"module": "./lib/index.js",
|