Skip to content

Commit 435d6f2

Browse files
committed
fix bugs
1 parent 1106e7b commit 435d6f2

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export * from "./src/Options";
2-
// export * from "./src/ruleManager";
3-
// export * from "./src/helpers/validate";
4-
// export * from "./src/Locale";
5-
// export * from "./src/rules";
6-
// export * from "./src/converters";
7-
// export * from "./src/Constants";
8-
// export * from "./src/Interface";
9-
// export * from "./src/Types";
10-
// export * from "./src/i18n";
2+
export * from "./src/ruleManager";
3+
export * from "./src/helpers/validate";
4+
export * from "./src/Locale";
5+
export * from "./src/rules";
6+
export * from "./src/converters";
7+
export * from "./src/Constants";
8+
export * from "./src/Interface";
9+
export * from "./src/Types";
10+
export * from "./src/i18n";

src/rules/isNotIncludes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import isIncludes from "./isIncludes";
22

3-
export default (value: unknown, options: string): boolean => {
3+
export default (value: unknown, ...args: unknown[]): boolean => {
44
if (value === undefined || value === null) {
55
return false;
66
}
77

8-
return !isIncludes(value, options);
8+
return !isIncludes(value, args);
99
};

0 commit comments

Comments
 (0)