-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from ahrjarrett/@ahrjarrett/v0.45.0
@ahrjarrett/v0.45.0
- Loading branch information
Showing
4 changed files
with
53 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"any-ts": minor | ||
--- | ||
|
||
fix: expose `any_*` constructors | ||
|
||
Fixes: | ||
|
||
``` | ||
Exported variable 'x' has or is using name 'any_dict' from external module "node_modules/any-ts/dist/index" but cannot be named. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
export type { any } from "./any.js" | ||
export type { | ||
any, | ||
any_array, | ||
any_arraylike, | ||
any_dict, | ||
any_entry, | ||
any_enumerable, | ||
any_field, | ||
any_index, | ||
any_invertible, | ||
any_json, | ||
any_key, | ||
any_nonnullable, | ||
any_nullable, | ||
any_object, | ||
any_scalar, | ||
any_struct, | ||
any_type, | ||
instanceOf, | ||
} from "./any.js" | ||
export { ANY_TS_VERSION } from "./any.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1 @@ | ||
/** | ||
* | ||
* Glossary | ||
* | ||
* ----------- | ||
* _type-constructor_ | ||
* --- | ||
* A {@link https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-aliases type alias} | ||
* that accepts an argument. | ||
* | ||
* Note that in the TypeScript ecosystem this is sometimes | ||
* called a "generic". The problem with "generic" is that | ||
* the ecosystem _also_ often calls the type parameter itself | ||
* a "generic", and _also_ calls a function that returns a | ||
* type-constructor a "generic". | ||
* | ||
* The lack of precision introduces the opportunity for | ||
* miscommunication, which wastes time and energy. | ||
* | ||
* See also: | ||
* - {@link https://en.wikipedia.org/wiki/Type_constructor type-constructor} | ||
* | ||
* | ||
* ----------- | ||
* _invariant_ | ||
* --- | ||
* A _type-constructor_ that sets an additional constraint | ||
* on the type being constructed. Usually this constraint | ||
* comes in the form of an additional type parameter. | ||
* | ||
* Example: | ||
* - {@link any.arrayof any.arrayof} | ||
* | ||
* | ||
* ----------- | ||
* _nullary_ | ||
* --- | ||
* A _type-constructor_ that accepts zero arguments. | ||
* | ||
* Note that a type-constructor that accepts an optional | ||
* argument can be called _nullary_ **or** _unary_, | ||
* although conventionally you would use "nullary" in | ||
* that context to indicate which variant you're referring | ||
* to. | ||
* | ||
* Example: | ||
* - {@link Any.primitive any.primitive} | ||
* | ||
* | ||
* ----------- | ||
* _unary_ | ||
* --- | ||
* A _type-constructor_ that accepts (at least one) argument. | ||
* | ||
* Example: | ||
* - {@link Any.primitive any.primitive} | ||
* - {@link Any.arrayof any.arrayof} | ||
* | ||
* | ||
* ----------- | ||
* _binary_ | ||
* --- | ||
* | ||
* A _type-constructor_ that accepts (at least two) arguments. | ||
* | ||
* Example: | ||
* - {@link Any.arrayof any.arrayof} | ||
*/ | ||
export * from "./exports.js" |