Skip to content

Conversation

@joente
Copy link
Member

@joente joente commented Dec 21, 2024

Description

Allow a type definition with a default value of true for booleans.

set_type('T', {
    t: 'bool<true>',
    f: 'bool<false>',
});

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Test advanced

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes

@joente joente self-assigned this Dec 21, 2024
@joente joente merged commit a5e3bee into main Dec 21, 2024
1 check passed
@joente joente deleted the defbool branch December 21, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants