Skip to content

Commit

Permalink
Drop ./PlainResult/toOption
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuharuohzeki committed Apr 1, 2024
1 parent feaa108 commit 6424d95
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 90 deletions.
1 change: 0 additions & 1 deletion docs/public_api_list.md
Expand Up @@ -136,7 +136,6 @@
- [option-t/PlainResult/orElse](../packages/option-t/src/plain_result/or_else.ts)
- [option-t/PlainResult/orElseAsync](../packages/option-t/src/plain_result/or_else_async.ts)
- [option-t/PlainResult/toNullable](../packages/option-t/src/plain_result/to_nullable.ts)
- [option-t/PlainResult/toOption](../packages/option-t/src/plain_result/to_option.ts) (deprecated)
- [option-t/PlainResult/toUndefinable](../packages/option-t/src/plain_result/to_undefinable.ts)
- [option-t/PlainResult/transpose](../packages/option-t/src/plain_result/transpose.ts)
- [option-t/PlainResult/tryCatch](../packages/option-t/src/plain_result/try_catch.ts)
Expand Down
Expand Up @@ -309,15 +309,6 @@ Generated by [AVA](https://avajs.dev).
'toNullableFromOk',
]

## option-t/PlainResult/toOption

> should match expected exported items
[
'toOptionFromErr',
'toOptionFromOk',
]

## option-t/PlainResult/toUndefinable

> should match expected exported items
Expand Down
Binary file not shown.
Expand Up @@ -29,7 +29,6 @@ testImportExposedPath(
'./PlainResult/orElseAsync': null,
'./PlainResult/Result': null,
'./PlainResult/toNullable': null,
'./PlainResult/toOption': null,
'./PlainResult/toUndefinable': null,
'./PlainResult/tryCatch': null,
'./PlainResult/tryCatchAsync': null,
Expand Down
43 changes: 0 additions & 43 deletions packages/api_tests/__tests__/plain_result/to_option.test.mjs

This file was deleted.

14 changes: 0 additions & 14 deletions packages/option-t/package.json
Expand Up @@ -1758,20 +1758,6 @@
"default": "./esm/plain_result/to_nullable.js"
}
},
"./PlainResult/toOption": {
"import": {
"types": "./esm/plain_result/to_option.d.ts",
"default": "./esm/plain_result/to_option.js"
},
"require": {
"types": "./cjs/plain_result/to_option.d.cts",
"default": "./cjs/plain_result/to_option.cjs"
},
"default": {
"types": "./esm/plain_result/to_option.d.ts",
"default": "./esm/plain_result/to_option.js"
}
},
"./PlainResult/toUndefinable": {
"import": {
"types": "./esm/plain_result/to_undefinable.d.ts",
Expand Down
13 changes: 0 additions & 13 deletions packages/option-t/src/plain_result/to_option.ts

This file was deleted.

Expand Up @@ -281,8 +281,6 @@ Generated by [AVA](https://avajs.dev).
'cjs/plain_result/result.d.cts',
'cjs/plain_result/to_nullable.cjs',
'cjs/plain_result/to_nullable.d.cts',
'cjs/plain_result/to_option.cjs',
'cjs/plain_result/to_option.d.cts',
'cjs/plain_result/to_undefinable.cjs',
'cjs/plain_result/to_undefinable.d.cts',
'cjs/plain_result/transpose.cjs',
Expand Down Expand Up @@ -651,8 +649,6 @@ Generated by [AVA](https://avajs.dev).
'esm/plain_result/result.js',
'esm/plain_result/to_nullable.d.ts',
'esm/plain_result/to_nullable.js',
'esm/plain_result/to_option.d.ts',
'esm/plain_result/to_option.js',
'esm/plain_result/to_undefinable.d.ts',
'esm/plain_result/to_undefinable.js',
'esm/plain_result/transpose.d.ts',
Expand Down
Binary file not shown.
1 change: 0 additions & 1 deletion packages/option-t/tools/public_api/table.mjs
Expand Up @@ -142,7 +142,6 @@ export const apiTable = Object.freeze({
'PlainResult/orElse': pathRedirectionTo(`${PLAIN_RESULT_DIR}/or_else`),
'PlainResult/orElseAsync': pathRedirectionTo(`${PLAIN_RESULT_DIR}/or_else_async`),
'PlainResult/toNullable': pathRedirectionTo(`${PLAIN_RESULT_DIR}/to_nullable`),
'PlainResult/toOption': pathRedirectionMarkedAsDeprecated(`${PLAIN_RESULT_DIR}/to_option`),
'PlainResult/toUndefinable': pathRedirectionTo(`${PLAIN_RESULT_DIR}/to_undefinable`),
'PlainResult/transpose': pathRedirectionTo(`${PLAIN_RESULT_DIR}/transpose`),
'PlainResult/tryCatch': pathRedirectionTo(`${PLAIN_RESULT_DIR}/try_catch`),
Expand Down
Expand Up @@ -23,7 +23,6 @@ import {} from 'option-t/PlainResult/orElse';
import {} from 'option-t/PlainResult/orElseAsync';
import {} from 'option-t/PlainResult/Result';
import {} from 'option-t/PlainResult/toNullable';
import {} from 'option-t/PlainResult/toOption';
import {} from 'option-t/PlainResult/toUndefinable';
import {} from 'option-t/PlainResult/tryCatch';
import {} from 'option-t/PlainResult/tryCatchAsync';
Expand Down
Expand Up @@ -23,7 +23,6 @@ import {} from 'option-t/PlainResult/orElse';
import {} from 'option-t/PlainResult/orElseAsync';
import {} from 'option-t/PlainResult/Result';
import {} from 'option-t/PlainResult/toNullable';
import {} from 'option-t/PlainResult/toOption';
import {} from 'option-t/PlainResult/toUndefinable';
import {} from 'option-t/PlainResult/tryCatch';
import {} from 'option-t/PlainResult/tryCatchAsync';
Expand Down
Expand Up @@ -23,7 +23,6 @@ import {} from 'option-t/PlainResult/orElse';
import {} from 'option-t/PlainResult/orElseAsync';
import {} from 'option-t/PlainResult/Result';
import {} from 'option-t/PlainResult/toNullable';
import {} from 'option-t/PlainResult/toOption';
import {} from 'option-t/PlainResult/toUndefinable';
import {} from 'option-t/PlainResult/tryCatch';
import {} from 'option-t/PlainResult/tryCatchAsync';
Expand Down
Expand Up @@ -23,7 +23,6 @@ import {} from 'option-t/PlainResult/orElse';
import {} from 'option-t/PlainResult/orElseAsync';
import {} from 'option-t/PlainResult/Result';
import {} from 'option-t/PlainResult/toNullable';
import {} from 'option-t/PlainResult/toOption';
import {} from 'option-t/PlainResult/toUndefinable';
import {} from 'option-t/PlainResult/tryCatch';
import {} from 'option-t/PlainResult/tryCatchAsync';
Expand Down

0 comments on commit 6424d95

Please sign in to comment.