diff --git a/.changeset/sharp-ducks-travel.md b/.changeset/sharp-ducks-travel.md deleted file mode 100644 index 8b34671..0000000 --- a/.changeset/sharp-ducks-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cuppachino/proxy-fn": patch ---- - -add test cases and fix bug with nested Promise types diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f2ef97..9120ec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @cuppachino/proxy-fn +## 1.0.3 + +### Patch Changes + +- 41402f2: add test cases and fix bug with nested Promise types + ## 1.0.2 ### Patch Changes diff --git a/package.json b/package.json index 1500b98..bac8ae8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cuppachino/proxy-fn", - "version": "1.0.2", + "version": "1.0.3", "description": "", "type": "module", "main": "dist/cjs/index.js", diff --git a/src/types/if.ts b/src/types/if.ts index 42e69b4..5b4eb72 100644 --- a/src/types/if.ts +++ b/src/types/if.ts @@ -1 +1 @@ -export type If = T extends true ? A : B \ No newline at end of file +export type If = T extends true ? A : B diff --git a/src/types/index.ts b/src/types/index.ts index 5a31f8f..5045a0a 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -4,4 +4,4 @@ export type * from './if.js' export type * from './is-empty.js' export type * from './is-never.js' export type * from './is-promise.js' -export type * from './maybe-promise.js' \ No newline at end of file +export type * from './maybe-promise.js' diff --git a/src/types/is-promise.ts b/src/types/is-promise.ts index 849c6d7..fbb9c73 100644 --- a/src/types/is-promise.ts +++ b/src/types/is-promise.ts @@ -1 +1 @@ -export type IsPromise = T extends Promise ? true : false \ No newline at end of file +export type IsPromise = T extends Promise ? true : false