=== tests/cases/compiler/excessPropertyErrorForFunctionTypes.ts ===
type FunctionType = () => any;
>FunctionType : Symbol(FunctionType, Decl(excessPropertyErrorForFunctionTypes.ts, 0, 0))

type DoesntWork = { a: number, c: number } | FunctionType;
>DoesntWork : Symbol(DoesntWork, Decl(excessPropertyErrorForFunctionTypes.ts, 0, 30))
>a : Symbol(a, Decl(excessPropertyErrorForFunctionTypes.ts, 1, 19))
>c : Symbol(c, Decl(excessPropertyErrorForFunctionTypes.ts, 1, 30))
>FunctionType : Symbol(FunctionType, Decl(excessPropertyErrorForFunctionTypes.ts, 0, 0))

let doesntWork: DoesntWork = { a: 1, c: 2, d: 3 }
>doesntWork : Symbol(doesntWork, Decl(excessPropertyErrorForFunctionTypes.ts, 3, 3))
>DoesntWork : Symbol(DoesntWork, Decl(excessPropertyErrorForFunctionTypes.ts, 0, 30))
>a : Symbol(a, Decl(excessPropertyErrorForFunctionTypes.ts, 3, 30))
>c : Symbol(c, Decl(excessPropertyErrorForFunctionTypes.ts, 3, 36))
>d : Symbol(d, Decl(excessPropertyErrorForFunctionTypes.ts, 3, 42))

