@typia/interface 12.0.2 → 13.0.0-dev.20260425

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.
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AAEjC,qDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AAEjC,QAAY,IAAI,yCAAqB"}
@@ -8,4 +8,4 @@
8
8
  * @template X First type to compare
9
9
  * @template Y Second type to compare
10
10
  */
11
- export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
11
+ export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => (T extends Y ? 1 : 2) ? true : false;
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@typia/interface",
3
- "version": "12.0.2",
3
+ "version": "13.0.0-dev.20260425",
4
4
  "description": "Superfast runtime validators with only one line",
5
5
  "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
6
7
  "exports": {
7
8
  ".": {
8
9
  "types": "./lib/index.d.ts",
@@ -21,8 +22,9 @@
21
22
  },
22
23
  "homepage": "https://typia.io",
23
24
  "devDependencies": {
25
+ "@typescript/native-preview": "7.0.0-dev.20260421.2",
24
26
  "rimraf": "^6.1.2",
25
- "typescript": "~5.9.3"
27
+ "ttsc": "^0.4.2"
26
28
  },
27
29
  "sideEffects": false,
28
30
  "files": [
@@ -35,7 +37,6 @@
35
37
  "fast",
36
38
  "json",
37
39
  "stringify",
38
- "typescript",
39
40
  "transform",
40
41
  "ajv",
41
42
  "io-ts",
@@ -71,8 +72,7 @@
71
72
  "access": "public"
72
73
  },
73
74
  "scripts": {
74
- "build": "rimraf lib && tsc",
75
- "dev": "rimraf lib && tsc --watch"
76
- },
77
- "types": "lib/index.d.ts"
75
+ "build": "rimraf lib && ttsc",
76
+ "dev": "ttsc --watch"
77
+ }
78
78
  }
@@ -1,5 +1,3 @@
1
- import type ts from "typescript";
2
-
3
1
  /**
4
2
  * Type constraint tag metadata.
5
3
  *
@@ -33,7 +31,4 @@ export interface IMetadataTypeTag {
33
31
 
34
32
  /** JSON schema fragment to merge. */
35
33
  schema?: object | undefined;
36
-
37
- /** @internal */
38
- predicate?: (input: ts.Expression) => ts.Expression;
39
34
  }