We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2e356 commit de0f712Copy full SHA for de0f712
types/es-abstract/package.json
@@ -6,7 +6,7 @@
6
"https://github.com/ljharb/es-abstract"
7
],
8
"dependencies": {
9
- "@types/es-to-primitive": "*"
+ "es-to-primitive": "^1.3.0"
10
},
11
"devDependencies": {
12
"@types/es-abstract": "workspace:."
types/es-abstract/test/es2015.test.ts
@@ -35,7 +35,7 @@ expectType<
35
| undefined
36
>(ES2015.Type<any>(any));
37
38
-ES2015.ToPrimitive(any); // $ExpectType string | number | bigint | boolean | symbol | null | undefined
+ES2015.ToPrimitive(any); // $ExpectType primitive
39
ES2015.ToInt16(any); // $ExpectType number
40
ES2015.ToInt8(any); // $ExpectType number
41
ES2015.ToUint8(any); // $ExpectType number
0 commit comments