Skip to content

Latest commit

 

History

History

typecheck

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

typecheck

Partial typecheck.macro support for tscm. Only supports createValidator.

Example

import { createValidator } from 'tscm-examples';

const validate = createValidator!!<{ index: number; name: string }>();

console.log(validate({ index: 0, name: 'some string' }));