Home
last modified time | relevance | path

Searched refs:FooBar (Results 1 – 25 of 52) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DmoduleDuplicateIdentifiers.js13 export namespace FooBar {
17 export namespace FooBar { // Shouldn't error
46 exports.Utensils = exports.Pot = exports.Kettle = exports.FooBar = exports.Foo = void 0;
49 var FooBar; variable
50 (function (FooBar) { argument
51 FooBar.member1 = 2;
52 })(FooBar = exports.FooBar || (exports.FooBar = {}));
53 (function (FooBar) { argument
54 FooBar.member2 = 42;
55 })(FooBar = exports.FooBar || (exports.FooBar = {}));
DmappedTypeIndexedAccess.symbols31 type FooBar = {
32 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33))
43 let pair1: Pair<FooBar> = {
46 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33))
57 let pair2: Pairs<FooBar>[keyof FooBar] = {
60 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33))
61 >FooBar : Symbol(FooBar, Decl(mappedTypeIndexedAccess.ts, 9, 33))
DmappedTypeIndexedAccess.types20 type FooBar = {
21 >FooBar : { foo: string; bar: number; }
32 let pair1: Pair<FooBar> = {
33 >pair1 : Pair<FooBar>
47 let pair2: Pairs<FooBar>[keyof FooBar] = {
DmoduleDuplicateIdentifiers.types20 export namespace FooBar {
21 >FooBar : typeof FooBar
28 export namespace FooBar { // Shouldn't error
29 >FooBar : typeof FooBar
DerrorMessagesIntersectionTypes02.symbols16 interface FooBar extends Foo, Bar {
17 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes02.ts, 6, 1))
30 let fooBar: FooBar = mixBar({
32 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes02.ts, 6, 1))
DerrorMessagesIntersectionTypes01.symbols16 interface FooBar extends Foo, Bar {
17 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes01.ts, 6, 1))
30 let fooBar: FooBar = mixBar({
32 >FooBar : Symbol(FooBar, Decl(errorMessagesIntersectionTypes01.ts, 6, 1))
DcomputedTypesKeyofNoIndexSignatureType.symbols56 type FooBar = { foo: "hello"; bar: "world"; };
57 >FooBar : Symbol(FooBar, Decl(computedTypesKeyofNoIndexSignatureType.ts, 11, 47))
61 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";…
64 >FooBar : Symbol(FooBar, Decl(computedTypesKeyofNoIndexSignatureType.ts, 11, 47))
72 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK
74 >FooBar : Symbol(FooBar, Decl(computedTypesKeyofNoIndexSignatureType.ts, 11, 47))
DmappedTypeIndexedAccess.errors.txt1 …8,5): error TS2322: Type '{ key: "foo"; value: number; }' is not assignable to type 'Pair<FooBar>'.
21 type FooBar = {
27 let pair1: Pair<FooBar> = {
29 !!! error TS2322: Type '{ key: "foo"; value: number; }' is not assignable to type 'Pair<FooBar>'.
37 let pair2: Pairs<FooBar>[keyof FooBar] = {
DmappedTypeIndexedAccess.js13 type FooBar = {
19 let pair1: Pair<FooBar> = {
25 let pair2: Pairs<FooBar>[keyof FooBar] = {
DmoduleDuplicateIdentifiers.symbols22 export namespace FooBar {
23 >FooBar : Symbol(FooBar, Decl(moduleDuplicateIdentifiers.ts, 9, 1), Decl(moduleDuplicateIdentifiers…
29 export namespace FooBar { // Shouldn't error
30 >FooBar : Symbol(FooBar, Decl(moduleDuplicateIdentifiers.ts, 9, 1), Decl(moduleDuplicateIdentifiers…
DerrorMessagesIntersectionTypes01.errors.txt1 …pes01.ts(14,5): error TS2322: Type '{ fooProp: string; } & Bar' is not assignable to type 'FooBar'.
15 interface FooBar extends Foo, Bar {
20 let fooBar: FooBar = mixBar({
22 !!! error TS2322: Type '{ fooProp: string; } & Bar' is not assignable to type 'FooBar'.
DerrorMessagesIntersectionTypes02.errors.txt1 …14,5): error TS2322: Type '{ fooProp: "frizzlebizzle"; } & Bar' is not assignable to type 'FooBar'.
15 interface FooBar extends Foo, Bar {
20 let fooBar: FooBar = mixBar({
22 !!! error TS2322: Type '{ fooProp: "frizzlebizzle"; } & Bar' is not assignable to type 'FooBar'.
DdiscriminatedUnionInference.symbols16 type FooBar<A> = Foo<A> | Bar<A>;
17 >FooBar : Symbol(FooBar, Decl(discriminatedUnionInference.ts, 3, 37))
24 type InferA<T> = T extends FooBar<infer A> ? A : never;
28 >FooBar : Symbol(FooBar, Decl(discriminatedUnionInference.ts, 3, 37))
DcomputedTypesKeyofNoIndexSignatureType.types24 type FooBar = { foo: "hello"; bar: "world"; };
25 >FooBar : { foo: "hello"; bar: "world"; }
29 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";…
35 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK
36 >FooBarKey : keyof FooBar
DdiscriminatedUnionInference.types12 type FooBar<A> = Foo<A> | Bar<A>;
13 >FooBar : FooBar<A>
15 type InferA<T> = T extends FooBar<infer A> ? A : never;
DerrorMessagesIntersectionTypes01.types12 interface FooBar extends Foo, Bar {
19 let fooBar: FooBar = mixBar({
20 >fooBar : FooBar
DerrorMessagesIntersectionTypes02.types12 interface FooBar extends Foo, Bar {
19 let fooBar: FooBar = mixBar({
20 >fooBar : FooBar
DintersectionTypeNormalization.types222 type FooBar = Foo & Bar;
223 >FooBar : Foo & Bar
229 const val = so as FooBar;
230 >val : FooBar
231 >so as FooBar : FooBar
237 >val : FooBar
DcomputedTypesKeyofNoIndexSignatureType.js14 type FooBar = { foo: "hello"; bar: "world"; };
16 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";…
19 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK
DsystemNamespaceAliasEmit.symbols19 export {ns, AnEnum, ns as FooBar, AnEnum as BarEnum};
23 >FooBar : Symbol(FooBar, Decl(systemNamespaceAliasEmit.ts, 9, 19))
/third_party/typescript/tests/cases/compiler/
DmappedTypeIndexedAccess.ts14 type FooBar = { alias
20 let pair1: Pair<FooBar> = {
26 let pair2: Pairs<FooBar>[keyof FooBar] = { variable
DcomputedTypesKeyofNoIndexSignatureType.ts13 type FooBar = { foo: "hello"; bar: "world"; }; alias
15 type WithIndex = Compute<FooBar & IndexObject>; // { [x: string]: {}; foo: "hello"; bar: "world";…
18 type FooBarKey = keyof FooBar; // "foo" | "bar" <-- OK alias
DerrorMessagesIntersectionTypes01.ts9 interface FooBar extends Foo, Bar { interface
14 let fooBar: FooBar = mixBar({
DerrorMessagesIntersectionTypes02.ts9 interface FooBar extends Foo, Bar { interface
14 let fooBar: FooBar = mixBar({
/third_party/rust/crates/clap/tests/derive/
Dvalue_enum.rs188 FooBar, in multi_word_is_renamed_kebab() enumerator
200 arg: ArgChoice::FooBar in multi_word_is_renamed_kebab()
218 FooBar, in variant_with_defined_casing() enumerator
229 arg: ArgChoice::FooBar in variant_with_defined_casing()
241 FooBar, in casing_is_propagated_from_parent() enumerator
252 arg: ArgChoice::FooBar in casing_is_propagated_from_parent()
265 FooBar, in casing_propagation_is_overridden() enumerator
276 arg: ArgChoice::FooBar in casing_propagation_is_overridden()

123