reexport Static

This commit is contained in:
2025-06-09 12:32:06 +02:00
parent 29eeca2e36
commit bdc02934e9
+1 -1
View File
@@ -5,7 +5,7 @@ import logger from 'log'
import {read_object} from './src/read_type'
const log = logger('config')
export {Type} from '@sinclair/typebox' // Re-export Type so users can describe config
export {Type, type Static} from '@sinclair/typebox' // Re-export Type so users can describe config
export async function parse<T extends TProperties>(scheme: TObject<T>): Promise<Static<TObject<T>> | null> {
log.info("Parse configuration from env")