57 Commits

Author SHA1 Message Date
zoriya 7ef6dc4411 Fix records in modules 2024-11-15 23:23:14 +01:00
Haydn Paterson 55ae006127 Revision 0.34.0 (#1069)
* Add Module Types

* Add Syntax Types
2024-11-13 23:56:23 +09:00
sinclairzx81 ed4c89a9ab Revision 0.33.8 (#983)
* Prevent Intersect Transform Encode callback from being called twice

* Make strict the Encode and Decode return type

* Support default annotation being assigned Functions for lazy value initialization on Create

*  Enable Mapping types to override user defined options from source type

* Support Constraint Copy for Pick, Omit (inline with Partial / Required) (Trialing Implementation)

* Flag Strict For Deprecation
2024-09-03 04:28:33 +09:00
sinclairzx81 e686997fcd Revision 0.32.35 (#932)
* Support Any and Never Record Keys

* Update Require Property Message

* Ensure Record Enumerable on Convert

* TypeScript 5.5.3

* Version
2024-07-23 03:08:57 +09:00
sinclairzx81 83e05bb43c Revision 0.32.34 (#914)
* Fix Embedded TemplateLiteral Generation

* TypeScript 5.5.2

* Version
2024-06-22 16:20:08 +09:00
sinclairzx81 7ef8e833d5 Revision 0.32.32 (#898)
* Fix Mapped Enum

* Test Case

* Version
2024-06-13 05:22:25 +09:00
sinclairzx81 3719b3eaff Revision 0.32.22 (#840)
* Support Optional and Readonly Function Arguments

* Version
2024-04-21 01:28:28 +09:00
sinclairzx81 ec27004427 Revision 0.32.17 (#799)
* Detect Any on StaticDecode

* Revision 0.32.17
2024-03-20 18:45:53 +09:00
sinclairzx81 9fa2e2801c Revision 0.32.16 (#791)
* Update Indexed Union Evaluation

* Use Reduce Strategy for Union and Intersect Value Conversion

* Add Path to Transform Codec Errors

* Support Control Character Escape in Template Literal Syntax

* Intersect Union Convert Test Case

* Revision 0.32.16
2024-03-20 02:25:53 +09:00
sinclairzx81 22ee96ad04 Revision 0.32.12 (#740)
* Branch

* Record Options | Option Asssignment Tests

* Version
2024-01-21 15:09:01 +09:00
Gabriel Halle 28164b1225 Recursive Fix: Evaluate Record and Array (#735)
* Fix some infinite recursion with static types

* Adds test for #336

* Fix import path

* Rename unused type parameter
2024-01-21 14:18:04 +09:00
sinclairzx81 cc068713a5 Revision 0.32.11 (#738)
* Optimize Extract and Exclude

* Version
2024-01-21 03:23:24 +09:00
sinclairzx81 dcf48f3232 Revision 0.32.9 (#731)
* Optimize Composite

* Set and Composite Tests

* Version
2024-01-13 00:01:44 +09:00
sinclairzx81 4c0b764cf9 Revision 0.32.6 (#724)
* Export TTemplateLiteralSyntax Infrastructure

* Export TDecodeType, TDecodeRest and TDecodeProperties

* Normalize Mapped Types, Drop TCompositeResolve

* Export KeyOf Infrastructure

* Export Awaited, Exclude, Extract, Pick, Omit and Mapped ReturnType
2024-01-10 11:25:14 +09:00
sinclairzx81 ca4000cc9a Revision 0.32.0 (#689) 2023-12-22 14:00:46 +09:00
sinclairzx81 9cb7b028a9 Revision 0.31.24 (#664)
* Improve Function and Constructor Inference

* Comment updates on Static types
2023-11-15 15:26:34 +09:00
sinclairzx81 a770b94c73 Revision 0.31.23 (#658)
* Modifier Inference Path on Required and Partial

* Formatting

* Sort Ecosystem
2023-11-08 00:29:44 +09:00
sinclairzx81 f049ce3890 Revision 0.31.22 (#652)
* Ensure Record into Object for known Enum keys

* Version and Static Tests
2023-11-03 00:44:16 +09:00
sinclairzx81 a9cfd7e9c3 Revision 0.31.20 (#647)
* Support Enum Key Inference on Record Types

* Version

* Use Constrained Key Type of TEnum
2023-10-26 18:21:38 +09:00
sinclairzx81 dc4e70de42 Revision 0.31.16 (#605)
* Support Infinite Template Literal Record Key

* Tests

* Version
2023-09-25 15:55:50 +09:00
sinclairzx81 6b27faba28 Revision 0.31.14 (#584)
* Revert 0.31.8 Enum

* Intercept for Enum on StaticDecode
2023-09-06 05:12:54 +09:00
sinclairzx81 df991dee6b Revision 0.31.12 (#581)
* Detected Empty Enum via Reverse Extends Check

* Version
2023-09-06 01:45:10 +09:00
sinclairzx81 fc0bb0e9f2 Revision 0.31.11 (#575)
* Resolve for Single String Enum

* Version

* Update TEnum to accept TEnumRecord as Generic Argument

* Use TEnum<T> as Assert
2023-09-06 00:46:25 +09:00
sinclairzx81 276ddeb443 Revision 0.31.10 (#573)
* Union, Intersect and Tuple Decode Rest

* Version

* Transform Tests
2023-09-05 02:49:33 +09:00
sinclairzx81 2b83dc6ad2 Revision 0.31.9 (#570) 2023-09-03 23:47:17 +09:00
sinclairzx81 224a4bee5b Revision 0.31.9 (#567)
* Experimental Enum

* Reset Example

* More strict type assertions (#569)

* Add experimental type assertions and change tests accordingly

* Improve assertion debugging showing the expected type in the error

* Add complex constraint

* Add reference to equality condition

* Fix intersection assertion

* Add ToStaticNever assertion and fix tests accordingly

* Improve test for record with enum key

* Formatting | Enum Union Test

* version

* Constrain to TEnumValue

* Constrain TEnum Argument to TEnumValue

* Ensure Distinct Values

* Enum and Record Guard Tests

* Minor Refactor on Static Assert

---------

Co-authored-by: Angelo Di Pilla <angelo.dipilla@mail.polimi.it>
2023-09-03 23:04:51 +09:00
sinclairzx81 233cc2215a Revision 0.31.7 (#562) 2023-08-30 03:44:17 +09:00
sinclair c41d29ae3b Formatting 2023-08-29 18:25:24 +09:00
sinclairzx81 67925c10a3 Revision 0.31.6 (#560) 2023-08-29 18:24:26 +09:00
sinclairzx81 6e0b99937e Revision 0.31.3 (#545) 2023-08-25 16:07:45 +09:00
sinclairzx81 18d1cf7ac5 Revision 0.31.0 (#525) 2023-08-12 06:31:50 +09:00
sinclairzx81 3a543656d6 Intrinsic String Mapping (#517) 2023-08-02 19:59:39 +09:00
sinclairzx81 72ffd1abca Intrinsic String Mapping (#516) 2023-08-02 19:24:22 +09:00
sinclairzx81 5a093bff44 Revision 0.30.0 (#513) 2023-08-01 15:53:05 +09:00
sinclairzx81 2e8818e71d Composite Type Optimization (#492) 2023-07-06 10:09:47 +09:00
sinclairzx81 da10cc09fa Revision 0.29.3 (#487) 2023-07-04 07:27:22 +09:00
sinclairzx81 bdeb24f15f Revision 0.29.1 (#485) 2023-07-03 03:52:38 +09:00
sinclairzx81 ebef7cc1ca Revision 0.29.0 (#483) 2023-07-02 22:37:54 +09:00
sinclairzx81 1903324127 Support Enum Inference In Template Literal (#445) 2023-05-25 14:49:16 +09:00
sinclairzx81 a4f412b63c Construct Composite Using Indexed Access Type (#420) 2023-04-28 18:17:18 +09:00
sinclairzx81 11b5e1cbf9 Numeric Indexed Keys (#416) 2023-04-27 15:39:52 +09:00
sinclairzx81 0661aca2ab Enhanced Indexed Access Types (#413) 2023-04-25 18:45:15 +09:00
sinclairzx81 35b1bb9ec9 Revision 0.28.5 (#409) 2023-04-23 13:48:01 +09:00
sinclairzx81 749b4536f6 Revision 0.28.3 (#406) 2023-04-22 06:28:50 +09:00
sinclairzx81 a8f4f180bc Revision 0.28.1 (#397) 2023-04-21 08:20:07 +09:00
sinclairzx81 fc616031db Recursive Utility Types (#383) 2023-04-14 17:07:59 +09:00
sinclairzx81 5f641c13ae Recursive KeyOf (#382) 2023-04-14 13:11:35 +09:00
sinclairzx81 d4858dd815 Revision 0.27.0 (#371) 2023-04-09 01:10:29 +09:00
sinclairzx81 1cbb5c60cc Composite Evaluate (#349) 2023-03-23 17:14:45 +09:00
sinclairzx81 4ec4daad44 Revision 0.26.0 (#346) 2023-03-22 01:01:38 +09:00