Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: reduceLazy move to strict folder #247

Merged
merged 1 commit into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Lazy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import pipeLazy from "./pipeLazy";
import pluck from "./pluck";
import prepend from "./prepend";
import range from "./range";
import reduceLazy from "./reduceLazy";
import reject from "./reject";
import repeat from "./repeat";
import reverse from "./reverse";
Expand Down Expand Up @@ -71,7 +70,6 @@ export {
prepend,
range,
reject,
reduceLazy,
repeat,
reverse,
scan,
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import pipe1 from "./pipe1";
import prop from "./prop";
import props from "./props";
import reduce from "./reduce";
import reduceLazy from "./reduceLazy";
import size from "./size";
import some from "./some";
import sort from "./sort";
Expand Down Expand Up @@ -120,6 +121,7 @@ export {
prop,
props,
reduce,
reduceLazy,
size,
unless,
some,
Expand Down
8 changes: 4 additions & 4 deletions src/Lazy/reduceLazy.ts → src/reduceLazy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import reduce from "../reduce";
import type IterableInfer from "../types/IterableInfer";
import type { AsyncReducer, SyncReducer } from "../types/Reducer";
import type ReturnValueType from "../types/ReturnValueType";
import reduce from "./reduce";
import type IterableInfer from "./types/IterableInfer";
import type { AsyncReducer, SyncReducer } from "./types/Reducer";
import type ReturnValueType from "./types/ReturnValueType";

type InferCarrier<T> = T extends AsyncIterable<infer R>
? AsyncIterable<R>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { pipe, toAsync } from "../../src";
import reduceLazy from "../../src/Lazy/reduceLazy";
import * as Test from "../../src/types/Test";
import { pipe, toAsync } from "../src";
import reduceLazy from "../src/reduceLazy";
import * as Test from "../src/types/Test";

const { checks, check } = Test;

Expand Down
2 changes: 1 addition & 1 deletion website/function.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"pluck",
"prepend",
"range",
"reduceLazy",
"reject",
"repeat",
"reverse",
Expand Down Expand Up @@ -97,6 +96,7 @@
"prop",
"props",
"reduce",
"reduceLazy",
"size",
"some",
"sort",
Expand Down
Loading