=== tests/cases/compiler/staticInterfaceAssignmentCompat.ts === class Shape { >Shape : Shape static create(): Shape { >create : () => Shape >Shape : Shape return new Shape(); >new Shape() : Shape >Shape : typeof Shape } } interface ShapeFactory { >ShapeFactory : ShapeFactory create(): Shape; >create : () => Shape >Shape : Shape } var x: ShapeFactory = Shape; >x : ShapeFactory >ShapeFactory : ShapeFactory >Shape : typeof Shape