Home
last modified time | relevance | path

Searched full:foo* (Results 30201 - 30225 of 31987) sorted by relevance

1...<<1201120212031204120512061207120812091210>>...1280

/third_party/typescript/tests/cases/fourslash/
H A DquickInfoCommentsFunctionDeclaration.ts3 /////** This comment should appear for foo*/
13 ////fooWithParam/*8*/eters("a",10);
H A DquickInfoContextualTyping.ts11 //// foo: IFoo;
15 //// /*1*/foo: (i: number, s: string) => number = function(/*2*/i) {
21 //// export var /*4*/foo: (i: number, s: string) => number = function(/*5*/i) {
43 //// /*28*/foo: <IFoo>({})
53 //// /*35*/foo: (i: number, s: string) => string;
55 //// this.foo = function(/*36*/i, /*37*/s) {
62 //// export var /*38*/foo: (i: number, s: string) => string;
63 //// foo = function(/*39*/i, /*40*/s) {
127 //// /*64*/foo: <IFoo>({})
163 //// /*94*/foo
[all...]
H A DquickInfoDisplayPartsConst.ts4 ////function foo() {
H A DquickInfoDisplayPartsEnum4.ts3 ////const enum Foo {
7 ////Foo[/*1*/"\t"]
8 ////Foo[/*2*/"\u007f"]
H A DquickInfoDisplayPartsFunction.ts3 ////function /*1*/foo(param: string, optionalParam?: string, paramWithInitializer = "hello", ...restParam: string[]) {
5 ////function /*2*/foowithoverload(a: string): string;
6 ////function /*3*/foowithoverload(a: number): number;
7 ////function /*4*/foowithoverload(a: any): any {
10 ////function /*5*/foowith3overload(a: string): string;
11 ////function /*6*/foowith3overload(a: number): number;
12 ////function /*7*/foowith3overload(a: boolean): boolean;
13 ////function /*8*/foowith3overload(a: any): any {
16 /////*9*/foo("hello");
17 /////*10*/foowithoverload("hell
[all...]
H A DquickInfoDisplayPartsFunctionExpression.ts3 ////var /*1*/x = function /*2*/foo() {
4 //// /*3*/foo();
8 ////(function /*5*/foo1() {
9 //// /*6*/foo1();
H A DquickInfoDisplayPartsIife.ts3 ////var iife = (function foo/*1*/(x, y) { return x })(12);
5 verify.quickInfoAt('1', '(local function) foo(x: number, y?: undefined): number');
H A DquickInfoDisplayPartsLet.ts4 ////function foo() {
H A DquickInfoDisplayPartsLocalFunction.ts4 //// function /*2*/foo(param: string, optionalParam?: string, paramWithInitializer = "hello", ...restParam: string[]) {
6 //// function /*3*/foowithoverload(a: string): string;
7 //// function /*4*/foowithoverload(a: number): number;
8 //// function /*5*/foowithoverload(a: any): any {
11 //// function /*6*/foowith3overload(a: string): string;
12 //// function /*7*/foowith3overload(a: number): number;
13 //// function /*8*/foowith3overload(a: boolean): boolean;
14 //// function /*9*/foowith3overload(a: any): any {
17 //// /*10*/foo("hello");
18 //// /*11*/foowithoverload("hell
[all...]
H A DquickInfoDisplayPartsParameters.ts4 //// function /*1*/foo(/*2*/param: string, /*3*/optionalParam?: string, /*4*/paramWithInitializer = "hello", .../*5*/restParam: string[]) {
H A DquickInfoDisplayPartsTypeParameterInFunction.ts4 ////function /*1*/foo</*2*/U>(/*3*/a: /*4*/U) {
7 /////*6*/foo("Hello");
8 ////function /*7*/foo2</*8*/U extends string>(/*9*/a: /*10*/U) {
11 /////*12*/foo2("hello");
H A DquickInfoDisplayPartsVar.ts4 ////function foo() {
H A DquickInfoExportAssignmentOfGenericInterface.ts4 ////interface Foo<T> {
7 ////export = Foo;
H A DquickInfoExtendArray.ts3 ////interface Foo<T> extends Array<T> { }
4 ////var x: Foo<string>;
7 ////interface Foo2 extends Array<string> { }
8 ////var x2: Foo2;
H A DquickInfoForArgumentsPropertyNameInJsMode1.ts6 ////const foo = {
11 //// foo.f1({ x, arguments: [] });
H A DquickInfoForContextuallyTypedIife.ts9 ////((a/*9*/, b/*10*/, c/*11*/) => [a/*12*/,b/*13*/,c/*14*/])("foo", 101, false);
H A DquickInfoForContextuallyTypedParameters.ts3 ////declare function foo1<T>(obj: T, settings: (row: T) => { value: string, func?: Function }): void;
5 ////foo1(new Error(),
8 //// func: x => 'foo'
12 ////declare function foo2<T>(settings: (row: T) => { value: string, func?: Function }, obj: T): void;
14 ////foo2(o/*2*/ => ({
16 //// func: x => 'foo'
21 ////declare function foof<T extends { name: string }, U extends keyof T>(settings: (row: T) => { value: T[U], func?: Function }, obj: T, key: U): U;
24 //// return foof/*3*/(o => ({ value: o.name, func: x => 'foo' }), x, "name");
27 ////foof/*
[all...]
H A DquickInfoForDerivedGenericTypeWithConstructor.ts4 //// foo() { }
H A DquickInfoForGenericConstraints1.ts3 ////function foo4<T extends Date>(te/**/st: T): T;
4 ////function foo4<T extends Date>(test: any): any { return null; }
H A DquickInfoForGenericPrototypeMember.ts4 //// foo(x: T) { }
H A DquickInfoForGenericTaggedTemplateExpression.ts7 ////declare function foo<T>(strings: TemplateStringsArray, ...values: T[]): void;
9 /////*1*/foo<number>``;
10 /////*2*/foo<string | number>``;
11 /////*3*/foo<{ a: number }>``;
12 /////*4*/foo<T1>``;
13 /////*5*/foo<T2>``;
14 /////*6*/foo<T3>``;
15 /////*7*/foo``;
17 verify.quickInfoAt("1", "function foo<number>(strings: TemplateStringsArray, ...values: number[]): void");
18 verify.quickInfoAt("2", "function foo<strin
[all...]
H A DquickInfoForIndexerResultWithConstraint.ts3 ////function foo<T>(x: T) {
9 //// var /*1*/r2 = foo(b); // just shows T
H A DquickInfoForJSDocUnknownTag.ts6 //// * foo()
15 //// foo()
H A DquickInfoForNamedTupleMember.ts3 ////type foo = [/**/x: string];
H A DquickInfoForObjectBindingElementName01.ts8 ////var foo: I;
9 ////var { /**/property1 } = foo;

Completed in 42 milliseconds

1...<<1201120212031204120512061207120812091210>>...1280