Searched refs:Shape (Results 1 – 10 of 10) sorted by relevance
21 class Shape {22 static create(): Shape {23 AssertType(new Shape(), "Shape");24 AssertType(Shape, "typeof Shape");25 return new Shape();30 create(): Shape;33 let x: ShapeFactory = Shape;35 AssertType(Shape, "typeof Shape");
71 interface Shape { interface92 function f0(s1: Shape, s2: Shape) {112 function f1(shape: Shape) {116 let frozen: Readonly<Shape>;126 function f2(shape: Shape) {130 let partial: Partial<Shape>;133 let partial: Partial<Shape> = {};138 function f3(shape: Shape) {182 function f5(shape: Shape) {202 function f6(shape: DeepReadonly<Shape>) {
61 type Shape = Circle | Square; alias62 type Shapes = Shape | Array<Shape>;64 function isShape(s : Shapes): s is Shape {
34 type Shape = Square | Rectangle | Circle; alias39 shape: Shape;44 function area(s: Shape): number {
18 interface Shape { interface22 let shape = <Shape>{};
18 interface Shape { interface22 type Shap = Pick<Shape, 'color'>
34 type Shape = Square | Rectangle | Circle; alias36 function area(s: Shape): number {
228 class Shape { class240 shapes : Shape[];246 class Sphere extends Shape {288 let sh = new Shape();
10494 +let shape = new Shape();
107412 t[t.Shape = 1] = "Shape";