Fix andThenAsync type #143
Annotations
3 errors and 4 warnings
test-node:
test/result.test.ts#L163
Argument of type '(num: number) => Ok<number, never> | Err<Bar, never> | Err<Baz, never>' is not assignable to parameter of type '(value: number) => Result<number, Bar>'.
|
test-node:
test/result.test.ts#L172
Type 'Result<number, Foo | Bar | Baz>' does not satisfy the constraint '{ [inspectSymbol]: () => `Ok(${string})` | `Err(${string})`; [iterator]: "Expected: function, Actual: function"; toString: () => `Ok(${string})` | `Err(${string})`; map: "Expected: function, Actual: function"; ... 29 more ...; toJSON: "Expected: function, Actual: function"; }'.
|
test-node
Process completed with exit code 2.
|
checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test-node
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test-browser
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test-browser
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|