Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 5, 2022
1 parent a68f6b2 commit 4bb093f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
],
"devDependencies": {
"@sindresorhus/tsconfig": "~0.7.0",
"expect-type": "^0.14.2",
"expect-type": "^0.15.0",
"tsd": "^0.24.1",
"typescript": "^4.8.3",
"xo": "^0.52.2"
"typescript": "^4.8.4",
"xo": "^0.52.4"
},
"xo": {
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Click the type names for complete docs.
- [`MultidimensionalArray`](source/multidimensional-array.d.ts) - Create a type that represents a multidimensional array of the given type and dimensions.
- [`MultidimensionalReadonlyArray`](source/multidimensional-readonly-array.d.ts) - Create a type that represents a multidimensional readonly array of the given type and dimensions.
- [`ReadonlyTuple`](source/readonly-tuple.d.ts) - Create a type that represents a read-only tuple of the given type and length.
- [`TupleToUnion`](source/tuple-to-union.d.ts) - Convert a tuple into a union type of its elements.
- [`TupleToUnion`](source/tuple-to-union.d.ts) - Convert a tuple/array into a union type of its elements.

### Numeric

Expand Down
2 changes: 1 addition & 1 deletion source/tuple-to-union.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
Convert a tuple into a union type of its elements.
Convert a tuple/array into a union type of its elements.
This can be useful when you have a fixed set of allowed values and want a type defining only the allowed values, but do not want to repeat yourself.
Expand Down

0 comments on commit 4bb093f

Please sign in to comment.