Home
last modified time | relevance | path

Searched refs:Shape (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DstaticInterfaceAssignmentCompat.ts21 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");
DmappedTypes2.ts71 interface Shape { interface
92 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>) {
DpartiallyDiscriminantedUnions.ts61 type Shape = Circle | Square; alias
62 type Shapes = Shape | Array<Shape>;
64 function isShape(s : Shapes): s is Shape {
DtypeGuardNarrowsIndexedAccessOfKnownProperty1.ts34 type Shape = Square | Rectangle | Circle; alias
39 shape: Shape;
44 function area(s: Shape): number {
/arkcompiler/ets_frontend/arkguard/test/grammar/interface_validation/
Dinterface_inherit.ts18 interface Shape { interface
22 let shape = <Shape>{};
/arkcompiler/ets_frontend/arkguard/test/grammar/data_type/
Dtype_pick.ts18 interface Shape { interface
22 type Shap = Pick<Shape, 'color'>
/arkcompiler/ets_frontend/arkguard/test/grammar/advanced_type/
Ddiscriminated_unions.ts34 type Shape = Square | Rectangle | Circle; alias
36 function area(s: Shape): number {
/arkcompiler/ets_runtime/test/aottest/classstatic/
Dclassstatic.ts228 class Shape { class
240 shapes : Shape[];
246 class Sphere extends Shape {
288 let sh = new Shape();
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch10494 +let shape = new Shape();
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js107412 t[t.Shape = 1] = "Shape";