Home
last modified time | relevance | path

Searched refs:ThisType (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
DobjectCreate2.types11 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
13 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
19 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
21 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
31 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
33 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
39 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
41 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
47 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
49 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
[all …]
DobjectCreate-errors.types5 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
7 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
13 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
15 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
21 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
23 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
29 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
31 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
38 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
40 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
[all …]
DobjectCreate.types11 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
13 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
19 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
21 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
31 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
33 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
39 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
41 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
47 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
49 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
[all …]
DexcessPropertyCheckWithEmptyObject.errors.txt1 … readonly: boolean; }' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.
2 …ecify known properties, and 'readonly' does not exist in type 'PropertyDescriptor & ThisType<any>'.
3 …Object.ts(9,30): error TS2322: Type '{ y: number; }' is not assignable to type 'A & ThisType<any>'.
4 …Object literal may only specify known properties, and 'y' does not exist in type 'A & ThisType<any…
15 … readonly: boolean; }' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.
16 …ecify known properties, and 'readonly' does not exist in type 'PropertyDescriptor & ThisType<any>'.
21 let a: A & ThisType<any> = { y: 10 };
23 !!! error TS2322: Type '{ y: number; }' is not assignable to type 'A & ThisType<any>'.
24 …ject literal may only specify known properties, and 'y' does not exist in type 'A & ThisType<any>'.
DjsDeclarationsExportDefinePropertyEmit.types4 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
6 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
18 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
20 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
32 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
34 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
59 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
61 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
86 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
88 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DcheckOtherObjectAssignProperty.types92 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
94 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
109 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
111 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
126 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
128 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
140 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
142 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
149 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
151 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DcheckExportsObjectAssignProperty.types179 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
181 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
192 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
194 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
205 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
207 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
218 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
220 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
229 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
231 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DcheckExportsObjectAssignPrototypeProperty.types132 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
134 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
147 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
149 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
162 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
164 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
177 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
179 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
190 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
192 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DjsDeclarationsGetterSetter.types45 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
47 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
67 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
69 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
90 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
92 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DclassExtendsNull.types13 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
15 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
27 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
29 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
DjsCheckObjectDefineThisNoCrash.types9 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
11 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
20 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
22 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DassigningFromObjectToAnythingElse.types16 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
18 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
24 >Object.create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>)…
26 >create : { (o: object): any; (o: object, properties: PropertyDescriptorMap & ThisType<any>): any; }
DcheckObjectDefineProperty.types92 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
94 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
105 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
107 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
116 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
118 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
129 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
131 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
142 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
144 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DexcessPropertyCheckWithEmptyObject.types7 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
9 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
22 let a: A & ThisType<any> = { y: 10 };
23 >a : A & ThisType<any>
DmappedTypeInferenceErrors.types10 declare function foo<P, C>(options: { props: P, computed: ComputedOf<C> } & ThisType<P & C>): void;
11 >foo : <P, C>(options: { props: P; computed: ComputedOf<C>;} & ThisType<P & C>) => void
12 >options : { props: P; computed: ComputedOf<C>; } & ThisType<P & C>
18 >foo : <P, C>(options: { props: P; computed: ComputedOf<C>; } & ThisType<P & C>) => void
DthisTypeInObjectLiterals2.js118 methods?: M & ThisType<D & M>; // Type of 'this' in methods is D & M
136 type ObjectDescriptor2<D, M> = ThisType<D & M> & {
165 declare function defineProp<T, K extends string, U>(obj: T, name: K, desc: PropDesc<U> & ThisType<T…
167 declare function defineProps<T, U>(obj: T, descs: PropDescMap<U> & ThisType<T>): T & U;
209 type VueOptions<D, M, P> = ThisType<D & M & P> & {
432 methods?: M & ThisType<D & M>;
441 declare type ObjectDescriptor2<D, M> = ThisType<D & M> & {
460 declare function defineProp<T, K extends string, U>(obj: T, name: K, desc: PropDesc<U> & ThisType<T…
461 declare function defineProps<T, U>(obj: T, descs: PropDescMap<U> & ThisType<T>): T & U;
478 declare type VueOptions<D, M, P> = ThisType<D & M & P> & {
DmappedTypes5.types113 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
115 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
121 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
123 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
172 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
174 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
180 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
182 … object | null): any; (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any; }
DlateBoundAssignmentDeclarationSupport3.types35 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
37 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
48 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
50 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DensureNoCrashExportAssignmentDefineProperrtyPotentialMerge.types17 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
19 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
62 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
64 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DexcessPropertyCheckWithEmptyObject.symbols18 let a: A & ThisType<any> = { y: 10 };
21 >ThisType : Symbol(ThisType, Decl(lib.es5.d.ts, --, --))
DmappedTypeInferenceErrors.symbols15 declare function foo<P, C>(options: { props: P, computed: ComputedOf<C> } & ThisType<P & C>): void;
25 >ThisType : Symbol(ThisType, Decl(lib.es5.d.ts, --, --))
DlateBoundAssignmentDeclarationSupport6.types54 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
56 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
67 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
69 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DjavascriptDefinePropertyPrototypeNonConstructor.types8 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
10 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.hpp34 using ThisType = DrawTester; typedef in DrawTester
49 void onCreateVertexBuffers(std::function<void(ThisType &tester)> callback);
54 …torSetLayouts(std::function<std::vector<vk::DescriptorSetLayoutBinding>(ThisType &tester)> callbac…
58 void onCreateVertexShader(std::function<vk::ShaderModule(ThisType &tester)> callback);
62 void onCreateFragmentShader(std::function<vk::ShaderModule(ThisType &tester)> callback);
67 …void onUpdateDescriptorSet(std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::…
125 std::function<void(ThisType &tester)> createVertexBuffers = [](auto &) {}; in __anon24a35b880102()
126 …std::function<std::vector<vk::DescriptorSetLayoutBinding>(ThisType &tester)> createDescriptorSetLa… in __anon24a35b880202()
127 …std::function<vk::ShaderModule(ThisType &tester)> createVertexShader = [](auto &) { return vk::Sha… in __anon24a35b880302()
128 …std::function<vk::ShaderModule(ThisType &tester)> createFragmentShader = [](auto &) { return vk::S… in __anon24a35b880402()
[all …]
/third_party/typescript/tests/cases/conformance/types/thisType/
DthisTypeInObjectLiterals2.ts121 methods?: M & ThisType<D & M>; // Type of 'this' in methods is D & M
139 type ObjectDescriptor2<D, M> = ThisType<D & M> & {
168 declare function defineProp<T, K extends string, U>(obj: T, name: K, desc: PropDesc<U> & ThisType<T…
170 declare function defineProps<T, U>(obj: T, descs: PropDescMap<U> & ThisType<T>): T & U;
212 type VueOptions<D, M, P> = ThisType<D & M & P> & {

1234