Skip to content

Commit

Permalink
Merge pull request #12 from cuppachino/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
cuppachino committed Sep 6, 2023
2 parents 51e83ec + 39cc33e commit 01388b4
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .changeset/sharp-ducks-travel.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @cuppachino/proxy-fn

## 1.0.3

### Patch Changes

- 41402f2: add test cases and fix bug with nested Promise<T> types

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cuppachino/proxy-fn",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"type": "module",
"main": "dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/types/if.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type If<T extends boolean, A, B> = T extends true ? A : B
export type If<T extends boolean, A, B> = T extends true ? A : B
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
export type * from './maybe-promise.js'
2 changes: 1 addition & 1 deletion src/types/is-promise.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type IsPromise<T> = T extends Promise<any> ? true : false
export type IsPromise<T> = T extends Promise<any> ? true : false

0 comments on commit 01388b4

Please sign in to comment.