Skip to content

Commit e72cafd

Browse files
authored
Version 1.0.29 (#1385)
* TS: 5.0.4: Add Explicit Guard for BaseValidator Callback * Version * ChangeLog
1 parent c29bf8b commit e72cafd

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

changelog/1.0.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
---
44

55
### Version Updates
6+
- [Revision 1.0.29](https://github.com/sinclairzx81/typebox/pull/1385)
7+
- TS 5.0.4: Add Explicit Guard for BaseValidator Callback
68
- [Revision 1.0.28](https://github.com/sinclairzx81/typebox/pull/1383)
79
- Remove Standard Schema Support
810
- [Revision 1.0.27](https://github.com/sinclairzx81/typebox/pull/1382)

src/type/types/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Base<Value extends unknown = unknown> implements TSchema, XBase<Val
5555
public readonly '~base': BaseValidator<Value>
5656
constructor() {
5757
const validator = new BaseValidator(
58-
(value) => this.Check(value),
58+
(value): value is Value => this.Check(value),
5959
(value) => this.Errors(value)
6060
)
6161
const configuration = {

tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Range } from './task/range/index.ts'
88
import { Metrics } from './task/metrics/index.ts'
99
import { Task } from 'tasksmith'
1010

11-
const Version = '1.0.28'
11+
const Version = '1.0.29'
1212

1313
// ------------------------------------------------------------------
1414
// Build

0 commit comments

Comments
 (0)