type-fest 0.21.2 → 0.21.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "type-fest",
3
- "version": "0.21.2",
3
+ "version": "0.21.3",
4
4
  "description": "A collection of essential TypeScript types",
5
5
  "license": "(MIT OR CC0-1.0)",
6
6
  "repository": "sindresorhus/type-fest",
package/source/basic.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference lib="esnext"/>
1
+ /// <reference lib="es2020.bigint"/>
2
2
 
3
3
  // TODO: This can just be `export type Primitive = not object` when the `not` keyword is out.
4
4
  /**
package/source/entry.d.ts CHANGED
@@ -44,7 +44,7 @@ const arrayEntryNumber: Entry<typeof arrayExample> = [1, 1];
44
44
 
45
45
  // Maps
46
46
  const mapExample = new Map([['a', 1]]);
47
- const mapEntry: Entry<typeof map> = ['a', 1];
47
+ const mapEntry: Entry<typeof mapExample> = ['a', 1];
48
48
 
49
49
  // Sets
50
50
  const setExample = new Set(['a', 1]);