@defjs/core 0.0.0-test-0013 → 0.0.0-test-0014

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8,8 +8,8 @@ export type HttpContext = {
8
8
  keys(): IterableIterator<HttpContextToken<unknown>>;
9
9
  };
10
10
  export declare function makeHttpContext(): HttpContext;
11
- export type ValidatorFn<T = unknown> = <I>(value: I | T) => Error | null | undefined;
12
- export type AsyncValidatorFn<T = unknown> = <I>(value: I | T) => Promise<Error | null | undefined>;
11
+ export type ValidatorFn<T = unknown> = (value: T) => Error | null | undefined;
12
+ export type AsyncValidatorFn<T = unknown> = (value: T) => Promise<Error | null | undefined>;
13
13
  declare const FIELD: unique symbol;
14
14
  declare enum FieldType {
15
15
  Json = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defjs/core",
3
- "version": "0.0.0-test-0013",
3
+ "version": "0.0.0-test-0014",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "bun run ./scripts/build.ts",