[96msrc/index.ts[0m:[93m1[0m:[93m7[0m - [91merror[0m[90m TS2322: [0mType 'string' is not assignable to type 'number'.

[7m1[0m const x: number = "hello";
[7m [0m [91m      ~[0m

[96msrc/index.ts[0m:[93m4[0m:[93m8[0m - [91merror[0m[90m TS2322: [0mType 'string' is not assignable to type 'number'.

[7m4[0m take({ a: "x", b: 1 });
[7m [0m [91m       ~[0m

  [96msrc/index.ts[0m:[93m2[0m:[93m17[0m
    [7m2[0m interface Foo { a: number; b: string }
    [7m [0m [96m                ~[0m
    The expected type comes from property 'a' which is declared here on type 'Foo'

[96msrc/index.ts[0m:[93m4[0m:[93m16[0m - [91merror[0m[90m TS2322: [0mType 'number' is not assignable to type 'string'.

[7m4[0m take({ a: "x", b: 1 });
[7m [0m [91m               ~[0m

  [96msrc/index.ts[0m:[93m2[0m:[93m28[0m
    [7m2[0m interface Foo { a: number; b: string }
    [7m [0m [96m                           ~[0m
    The expected type comes from property 'b' which is declared here on type 'Foo'


Found 3 errors in the same file, starting at: src/index.ts[90m:1[0m

