You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A **PureScript** library for type class based **TypeScript** type generation (`.d.ts` files).
7
4
8
5
## Documentation
@@ -37,6 +34,6 @@ spago install ts-bridge
37
34
38
35
# Support
39
36
40
-
If you find a bug or have a feature idea feel free to make a PR or file an issue. Or just []()
37
+
If you find a bug or have a feature idea feel free to make a PR or file an issue.
41
38
42
39
<ahref='https://ko-fi.com/C0C3HQFRF'target='_blank'><imgheight='36'style='border:0px;height:36px;'src='https://storage.ko-fi.com/cdn/kofi4.png?v=3'border='0'alt='Buy Me a Coffee at ko-fi.com' /></a>
Copy file name to clipboardExpand all lines: docs/type-comparison.md
+67-3Lines changed: 67 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
-[Function](#function)
16
16
-[Promise](#promise)
17
17
-[Effect](#effect)
18
+
-[Unit](#unit)
18
19
<!-- AUTO-GENERATED-CONTENT:END -->
19
20
20
21
The following is a list of default implementations for types that are provided in this library. Since the generation typeclass is defined on your side, you can choose a subset of the provided implementations.
@@ -412,7 +413,7 @@ type Maybe<A> = {
412
413
<td colspan=3>
413
414
<h2>Either</h2>
414
415
415
-
`Either` is represented as opaque type using TypeScript __branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.
416
+
`Either` is represented as opaque type using TypeScript branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.
416
417
417
418
</td>
418
419
</tr>
@@ -481,7 +482,7 @@ type Either<A, B> = {
481
482
<td colspan=3>
482
483
<h2>Tuple</h2>
483
484
484
-
`Tuple` is represented as opaque type using TypeScript __branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.
485
+
`Tuple` is represented as opaque type using TypeScript branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.
Copy file name to clipboardExpand all lines: gen-docs/data.js
+29-35Lines changed: 29 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ export const data = [
96
96
],
97
97
[
98
98
"Either",
99
-
"`Either` is represented as opaque type using TypeScript __branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.",
99
+
"`Either` is represented as opaque type using TypeScript branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.",
100
100
[
101
101
[
102
102
"Ref",
@@ -128,7 +128,7 @@ export const data = [
128
128
],
129
129
[
130
130
"Tuple",
131
-
"`Tuple` is represented as opaque type using TypeScript __branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.",
131
+
"`Tuple` is represented as opaque type using TypeScript branded types. So there is no direct way to create a `Either` in TypeScript. See the FAQ for the general decision to represent ADTs as opaque types.",
0 commit comments