typescript type


interface TypescriptType {
    a: boolean;
    b: string;
    c: number;
    d: null;
    e: undefined;
    f: any;
    g(): void;
}
const typeTest: TypescriptType = {
    a: true,
    b: 'string',
    c: 10,
    d: null,
    e: undefined,
    f: 'anything',
    g: () => { console.log('function'); }
}