Skip to content

Commit de0f712

Browse files
authored
[es-abstract] depend on real real es-to-primitive package (DefinitelyTyped#71785)
1 parent 3b2e356 commit de0f712

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

types/es-abstract/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://github.com/ljharb/es-abstract"
77
],
88
"dependencies": {
9-
"@types/es-to-primitive": "*"
9+
"es-to-primitive": "^1.3.0"
1010
},
1111
"devDependencies": {
1212
"@types/es-abstract": "workspace:."

types/es-abstract/test/es2015.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ expectType<
3535
| undefined
3636
>(ES2015.Type<any>(any));
3737

38-
ES2015.ToPrimitive(any); // $ExpectType string | number | bigint | boolean | symbol | null | undefined
38+
ES2015.ToPrimitive(any); // $ExpectType primitive
3939
ES2015.ToInt16(any); // $ExpectType number
4040
ES2015.ToInt8(any); // $ExpectType number
4141
ES2015.ToUint8(any); // $ExpectType number

0 commit comments

Comments
 (0)