TypeScript Playground

by inser

TypeScript

const message: string = 'hello world';
console.log(message);

interface ITest {
    data: string
}

const test = ({ bb: "OK" } as any) as ITest

console.log(test)