Skip to content

Commit

Permalink
fix types.
Browse files Browse the repository at this point in the history
  • Loading branch information
chizuki committed Sep 1, 2022
1 parent 35454b6 commit 15ecb2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export type MaybeArray<T> = T | T[]

export type MaybeNumber<T = string> = T | number

export type Num = MaybeNumber<string>

export type MaybeDate = Date | string | number

export type MaybeRegex = RegExp | string
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
"files": [
"index.d.ts"
],
"keywords": [],
"author": "",
"keywords": [
"types",
"maybe-types"
],
"author": "chizuki",
"license": "MIT",
"devDependencies": {
"bumpp": "^8.2.1"
Expand Down

0 comments on commit 15ecb2b

Please sign in to comment.