Skip to content

Commit 3f0b06d

Browse files
committed
fixes build issue
1 parent b28b76e commit 3f0b06d

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616

1717
jobs:
1818
test-and-build:
19+
name: Test and Build
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Git clone the repository
@@ -54,7 +55,7 @@ jobs:
5455
run: npm run predocs
5556

5657
- name: Build docs
57-
run: npm run build:docs
58+
run: npm run docs:build
5859

5960
- name: Upload artifact
6061
uses: actions/upload-pages-artifact@v3

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,4 @@ const result = Result.gen(readConfig("config.json"));
426426
### Next steps
427427

428428
Hopefully this gives you a good idea of how to get started with `typescript-result`.
429-
For more information on how to use this library, please continue with the [guide](/a-note-on-errors). If you want to see more examples, check out the [examples](/examples). Ready to give it a spin? Try it out for yourself in our [playground](/playground).
429+
For more information on how to use this library, please continue with the [guide](/a-note-on-errors). If you want to see more examples, check out the [examples](/examples/). Ready to give it a spin? Try it out for yourself in our [playground](/playground).

src/result.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ type SyncOrAsyncGenerator<Y, R, N> =
7474
| Generator<Y, R, N>
7575
| AsyncGenerator<Y, R, N>;
7676

77-
/**
78-
* @internal
79-
*/
8077
export type InferGeneratorReturn<T> = T extends SyncOrAsyncGenerator<
8178
any,
8279
infer R,
@@ -85,9 +82,6 @@ export type InferGeneratorReturn<T> = T extends SyncOrAsyncGenerator<
8582
? ExtractValue<R>
8683
: never;
8784

88-
/**
89-
* @internal
90-
*/
9185
export type InferGeneratorError<T> = [T] extends [
9286
SyncOrAsyncGenerator<never, infer R, any>,
9387
]
@@ -110,9 +104,6 @@ type IsGeneratorAsync<T> = T extends SyncOrAsyncGenerator<
110104
: false
111105
: false;
112106

113-
/**
114-
* @internal
115-
*/
116107
export type IfGeneratorAsync<T, Yes, No> = IsGeneratorAsync<T> extends true
117108
? Yes
118109
: No;

typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
"excludePrivate": true,
99
"docsRoot": "./docs",
1010
"readme": "none",
11+
"hideBreadcrumbs": true,
1112
}

0 commit comments

Comments
 (0)