Home
last modified time | relevance | path

Searched refs:Foo2 (Results 1 - 25 of 39) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A DambientModuleExports.js12 declare module Foo2 {
18 Foo2.a();
19 Foo2.b;
20 var c2 = new Foo2.C();
26 Foo2.a();
27 Foo2.b;
28 var c2 = new Foo2.C();
H A DmoduleAndInterfaceWithSameName.js12 module Foo2 {
22 var z2 = Foo2.Bar.y; // Error for using interface name as a value.
42 var Foo2; variable
43 (function (Foo2) {
48 })(Foo2 || (Foo2 = {}));
49 var z2 = Foo2.Bar.y; // Error for using interface name as a value.
H A DesModuleInteropTslibHelpers.js12 export class Foo2 { }
38 exports.Foo2 = void 0;
42 var Foo2 = /** @class */ (function () {
43 function Foo2() {
45 return Foo2;
47 exports.Foo2 = Foo2;
H A DtypeCheckTypeArgument.js10 class Foo2 {
24 var Foo2 = /** @class */ (function () {
25 function Foo2() {
27 Foo2.prototype.method = function () { };
28 return Foo2;
H A DcollisionSuperAndParameter.js16 class Foo2 extends Foo {
104 var Foo2 = /** @class */ (function (_super_1) {
105 __extends(Foo2, _super_1);
106 function Foo2(_super) {
114 Foo2.prototype.x = function () {
120 Foo2.prototype.y = function (_super) {
126 Object.defineProperty(Foo2.prototype, "z", {
132 return Foo2;
H A DpropertyIdentityWithPrivacyMismatch.js24 class Foo2 {
28 var y: Foo2;
42 var Foo2 = /** @class */ (function () {
43 function Foo2() {
45 return Foo2;
H A Dparser585151.js2 class Foo2 {
8 var Foo2 = /** @class */ (function () {
9 function Foo2() {
11 return Foo2;
H A DconditionalTypeAssignabilityWhenDeferred.js92 class Foo2 {
100 set(new Foo2(), "prop", "hi"); // <-- typechecks
171 var Foo2 = /** @class */ (function () {
172 function Foo2() {
174 Foo2.prototype.method = function () {
177 return Foo2;
179 set(new Foo2(), "prop", "hi"); // <-- typechecks
H A DvarianceMeasurement.js16 interface Foo2<T> {
18 y: { x: (arg: T) => void, y: Foo2<(arg: T) => void>; }
21 declare const f20: Foo2<string>;
22 const f21: Foo2<'a'> = f20;
23 const f22: Foo2<unknown> = f20;
H A DnarrowingOfDottedNames.js53 class Foo2
156 var Foo2 = /** @class */ (function () {
157 function Foo2() {
159 return Foo2;
H A DindexIntoArraySubclass.js2 interface Foo2<T> extends Array<T> { }
3 var x2: Foo2<string>;
H A DsubtypingWithObjectMembersOptionality3.js12 Foo2: Derived // ok
33 var b: { Foo2: Derived; }
H A DsubtypingWithObjectMembersOptionality4.js12 Foo2?: Derived // ok
33 var b: { Foo2?: Derived; }
H A DrecursiveTypeParameterReferenceError1.js13 interface Foo2<T> {
16 var f2: Foo2<number>;
H A DunionAndIntersectionInference3.js28 type Foo2<T> = {
36 declare let g1: <T>(x: Foo2<T> | Bar2<T>) => Promise<T>;
37 declare let g2: <U>(x: Foo2<U> | Bar2<U>) => Promise<U>;
H A DrecursiveTypesWithTypeof.js49 interface Foo2<T, U> { }
52 var hy3: Foo2<typeof hy3, { x: typeof hy3 }>;
H A DdeepComparisons.js15 type Foo1<T> = { x: Foo2<T> };
16 type Foo2<T> = { x: Foo1<T> };
H A DesModuleInteropNamedDefaultImports.js8 import { default as Foo2 } from "./mod";
11 new Foo2();
H A DintersectionsAndEmptyObjects.js84 type Foo2 = { x: string } & { [K in number]: Foo2 };
H A DforwardRefInTypeDeclaration.js7 interface Foo2 { [s2]: number; }
H A DmappedTypeErrors.js135 type Foo2<T, F extends keyof T> = {
141 let f: Foo2<O, 'x'> = {
306 type Foo2<T, F extends keyof T> = {
319 declare let f: Foo2<O, 'x'>;
H A DvarianceAnnotations.js72 type Foo2<out T> = { // Error
80 value: Foo2<T[]>;
263 type Foo2<out T> = {
269 value: Foo2<T[]>;
H A DneverAsDiscriminantType(strict=false).js10 type Foo2 = { kind?: 'a', a: number } | { kind?: 'b' } | { kind?: never };
12 function f2(foo: Foo2) {
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Ddupe-enum-variant-in-namespace.h7 Foo2, member in foo::Bar
8 Foo3 = Foo2,
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Ddupe-enum-variant-in-namespace.rs19 pub const Foo3: root::foo::Bar = Bar::Foo2;
25 Foo2 = 1,

Completed in 20 milliseconds

12