Skip to content

Commit

Permalink
Merge pull request #85 from ahrjarrett/@ahrjarrett/v0.40.12
Browse files Browse the repository at this point in the history
fix: exports internal `Fn*` interfaces from `Kind` module
  • Loading branch information
ahrjarrett authored Apr 28, 2024
2 parents a679b6b + bbbb0b7 commit 3f5778f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-planes-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"any-ts": patch
---

chore: exports internal `Fn*` type constructors
22 changes: 22 additions & 0 deletions src/kind/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@ export type {
Scope,
/** @internal */
$$,
/** @internal */
Fn1,
/** @internal */
Fn10,
/** @internal */
Fn2,
/** @internal */
Fn3,
/** @internal */
Fn4,
/** @internal */
Fn5,
/** @internal */
Fn6,
/** @internal */
Fn7,
/** @internal */
Fn8,
/** @internal */
Fn9,
/** @internal */
cached,
} from "./kind"

export type {
Expand Down
22 changes: 11 additions & 11 deletions src/kind/kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ declare namespace kind {
}
}

interface Fn1 { [0]: _ }
interface Fn2 { [0]: _, [1]: _ }
interface Fn3 { [0]: _, [1]: _, [2]: _ }
interface Fn4 { [0]: _, [1]: _, [2]: _, [3]: _ }
interface Fn5 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _ }
interface Fn6 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _ }
interface Fn7 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _ }
interface Fn8 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _, [7]: _ }
interface Fn9 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _, [7]: _, [8]: _ }
interface Fn10 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _, [7]: _, [8]: _, [9]: _ }
export interface Fn1 { [0]: _ }
export interface Fn2 { [0]: _, [1]: _ }
export interface Fn3 { [0]: _, [1]: _, [2]: _ }
export interface Fn4 { [0]: _, [1]: _, [2]: _, [3]: _ }
export interface Fn5 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _ }
export interface Fn6 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _ }
export interface Fn7 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _ }
export interface Fn8 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _, [7]: _ }
export interface Fn9 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _, [7]: _, [8]: _ }
export interface Fn10 { [0]: _, [1]: _, [2]: _, [3]: _, [4]: _, [5]: _, [6]: _, [7]: _, [8]: _, [9]: _ }

/** @internal */
declare namespace cached {
export declare namespace cached {
interface A00 { [0]: [] }
interface A01 { [1]: [_] }
interface A02 { [2]: [_, _] }
Expand Down

0 comments on commit 3f5778f

Please sign in to comment.