export interface Foo { x: number; y?: string | K; bar: () => void; isBar: (a: number, b: string) => boolean; checkBar(): Promise; barWithTypedParameter(c: T): T; arrowFuncWithTypedParameters: (c: T) => T; readonly z: number; }