Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DmappedTypesArraysTuples.ts89 declare function nonpartial<T>(x: Partial<T>): T; function
94 let y20 = nonpartial(x20);
96 AssertType(nonpartial(x20), "[number, string, ...boolean[]]");
97 AssertType(nonpartial, "<T>(Partial<T>) => T");
103 let y21 = nonpartial(x21);
105 AssertType(nonpartial(x21), "number[]");
106 AssertType(nonpartial, "<T>(Partial<T>) => T");
114 let y22 = nonpartial(x22);
116 AssertType(nonpartial(x22), "{ a: number; b: string[]; }");
117 AssertType(nonpartial, "<T>(Partial<T>) => T");