/third_party/typescript/tests/baselines/reference/ |
H A D | ambientModuleExports.js | 12 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 D | moduleAndInterfaceWithSameName.js | 12 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 D | esModuleInteropTslibHelpers.js | 12 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 D | typeCheckTypeArgument.js | 10 class Foo2 { 24 var Foo2 = /** @class */ (function () {
25 function Foo2() {
27 Foo2.prototype.method = function () { };
28 return Foo2;
|
H A D | collisionSuperAndParameter.js | 16 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 D | propertyIdentityWithPrivacyMismatch.js | 24 class Foo2 { 28 var y: Foo2;
42 var Foo2 = /** @class */ (function () {
43 function Foo2() {
45 return Foo2;
|
H A D | parser585151.js | 2 class Foo2 { 8 var Foo2 = /** @class */ (function () {
9 function Foo2() {
11 return Foo2;
|
H A D | conditionalTypeAssignabilityWhenDeferred.js | 92 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 D | varianceMeasurement.js | 16 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 D | narrowingOfDottedNames.js | 53 class Foo2 156 var Foo2 = /** @class */ (function () {
157 function Foo2() {
159 return Foo2;
|
H A D | indexIntoArraySubclass.js | 2 interface Foo2<T> extends Array<T> { } 3 var x2: Foo2<string>;
|
H A D | subtypingWithObjectMembersOptionality3.js | 12 Foo2: Derived // ok 33 var b: { Foo2: Derived; }
|
H A D | subtypingWithObjectMembersOptionality4.js | 12 Foo2?: Derived // ok 33 var b: { Foo2?: Derived; }
|
H A D | recursiveTypeParameterReferenceError1.js | 13 interface Foo2<T> { 16 var f2: Foo2<number>;
|
H A D | unionAndIntersectionInference3.js | 28 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 D | recursiveTypesWithTypeof.js | 49 interface Foo2<T, U> { } 52 var hy3: Foo2<typeof hy3, { x: typeof hy3 }>;
|
H A D | deepComparisons.js | 15 type Foo1<T> = { x: Foo2<T> }; 16 type Foo2<T> = { x: Foo1<T> };
|
H A D | esModuleInteropNamedDefaultImports.js | 8 import { default as Foo2 } from "./mod"; 11 new Foo2();
|
H A D | intersectionsAndEmptyObjects.js | 84 type Foo2 = { x: string } & { [K in number]: Foo2 };
|
H A D | forwardRefInTypeDeclaration.js | 7 interface Foo2 { [s2]: number; }
|
H A D | mappedTypeErrors.js | 135 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 D | varianceAnnotations.js | 72 type Foo2<out T> = { // Error 80 value: Foo2<T[]>; 263 type Foo2<out T> = {
269 value: Foo2<T[]>;
|
H A D | neverAsDiscriminantType(strict=false).js | 10 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 D | dupe-enum-variant-in-namespace.h | 7 Foo2, member in foo::Bar 8 Foo3 = Foo2,
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | dupe-enum-variant-in-namespace.rs | 19 pub const Foo3: root::foo::Bar = Bar::Foo2; 25 Foo2 = 1,
|