Home
last modified time | relevance | path

Searched full:foo* (Results 29201 - 29225 of 30851) sorted by relevance

1...<<1161116211631164116511661167116811691170>>...1235

/third_party/typescript/tests/cases/fourslash/
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToArrow_Single_While.ts3 //// const foo = /*x*/f/*y*/unction() {
12 newContent: `const foo = () => {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_Comment.ts3 //// const foo = /*x*/a/*y*/ => {
16 newContent: `function foo(a) {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_Modifier.ts3 //// export let foo = /*x*/a/*y*/ => {
13 newContent: `export function foo(a) {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_Modifier_Comment.ts4 //// export let foo = /*x*/a/*y*/ => {
15 export function foo(a) {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_MultiDecl.ts3 //// let foo, bar = /*x*/(/*y*/) => 1 + 1, magicNo;
10 newContent: `let foo, magicNo;
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_MultiDecl_Modifier.ts3 //// export let foo, bar = /*x*/(/*y*/) => 1 + 1;
10 newContent: `export let foo;
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_MultiDecl_Modifier_Comment.ts4 //// export let foo, bar = /*x*/(/*y*/) => 1 + 1;
12 export let foo;
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_MultiDecl_VarSelection.ts3 //// let foo, /*x*/b/*y*/ar = a => 1 + a;
10 newContent: `let foo;
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_MultiLine.ts3 //// let foo = /*x*/a/*y*/ => {
13 newContent: `function foo(a) {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_MultiParam.ts3 //// let foo = /*x*/(/*y*/a,b,c) => a + 1;
10 newContent: `function foo(a, b, c) {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_SingleLine.ts3 //// let foo = /*x*/(/*y*/) => 1 + 1;
10 newContent: `function foo() {
H A DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_keywordSelection.ts3 //// /*x*/let/*y*/ foo = a => 1 + a;
10 newContent: `function foo(a) {
H A DrefactorConvertExport_ambientModule.ts3 // @Filename: /foo.ts
4 ////declare module "foo" {
5 //// /*a*/export default function foo(): void;/*b*/
9 ////import foo from "foo";
17 "/foo.ts":
18 `declare module "foo" {
19 export function foo(): void;
23 `import { foo } from "foo";`,
[all...]
H A DrefactorConvertExport_namedToDefault2.ts6 //// constructor(@Foo() param: any) { }
9 ////function Foo(...args: any[]): any {}
19 constructor(@Foo() param: any) { }
22 function Foo(...args: any[]): any {}`,
H A DrefactorConvertExport_namedToDefaultInModuleAugmentation1.ts3 // @Filename: /node_modules/@types/foo/index.d.ts
5 ////declare module "foo" {
6 //// /*a*/export function foo(): void;/*b*/
10 ////import { foo } from "foo";
18 "/node_modules/@types/foo/index.d.ts":
20 declare module "foo" {
21 export default function foo(): void;
24 `import foo from "foo";`
[all...]
H A DrefactorConvertExport_namedToDefaultInModuleAugmentation2.ts4 ////declare module "foo" {
15 declare module "foo" {
H A DrefactorConvertImport_namedToNamespace1.ts3 /////*a*/import { a, b, foo } from "./foo";/*b*/
6 ////foo;
15 `import * as foo from "./foo";
16 foo.a;
17 foo.b;
18 foo.foo;`,
H A DrefactorConvertImport_namedToNamespace2.ts3 ////import foo, /*a*/{ a, b, c as d }/*b*/ from "./foo";
7 ////foo;
11 ////export { foo };
21 `import foo, * as foo_1 from "./foo";
22 import { b, c as d } from "./foo";
23 foo_1.a;
24 foo_1
[all...]
H A DrefactorConvertImport_namedToNamespace3.ts3 /////*a*/import { a, b } from "./foo"/*b*/;
7 //// const foo = "foo";
8 //// foo;
21 `import * as foo_1 from "./foo";
22 foo_1.a;
23 foo_1.b;
25 const foo = "foo";
[all...]
H A DrefactorConvertImport_namedToNamespace4.ts3 /////*a*/import { a, b, c as d } from "./foo"/*b*/;
20 `import * as foo from "./foo";
21 import { b, c as d } from "./foo";
22 foo.a;
23 foo.b;
24 foo.c;
25 export default foo.a;
H A DrefactorConvertImport_namedToNamespace5.ts3 /////*a*/import { a, b, foo } from "./foo";/*b*/
6 ////foo;
7 ////export { foo };
8 ////export { foo as bar };
17 `import * as foo_1 from "./foo";
18 import { foo } from "./foo";
19 foo_1
[all...]
H A DrefactorConvertParamsToDestructuredObject_arrowFunction.ts3 ////const foo = /*a*/(a: number, b: number)/*b*/ => { };
4 ////foo(1, 2);
11 newContent: `const foo = ({ a, b }: { a: number; b: number; }) => { };
12 foo({ a: 1, b: 2 });`
H A DrefactorConvertParamsToDestructuredObject_arrowFunctionWithSingleParameter.ts3 ////const foo = /*a*/(a: number)/*b*/ => { };
4 ////foo(1);
11 newContent: `const foo = ({ a }: { a: number; }) => { };
12 foo({ a: 1 });`,
H A DrefactorConvertParamsToDestructuredObject_arrowFunctionWithType.ts3 ////const foo: (a: number, b: number) => number = /*a*/(a: number, b: number)/*b*/ => a + b;
4 ////foo(1, 2);
H A DrefactorConvertParamsToDestructuredObject_callComments.ts3 ////function /*a*/foo/*b*/(a: number, b: number, ...rest: number[]) {
6 ////foo(/**a*/ 1 /**b*/, /**c*/ 2 /**d*/, /**e*/ 3 /**f*/, /**g*/ 4 /**h*/);
13 newContent: `function foo({ a, b, rest = [] }: { a: number; b: number; rest?: number[]; }) {
16 foo({ /**a*/ a: 1 /**b*/, /**c*/ b: 2 /**d*/, rest: [/**e*/ 3 /**f*/, /**g*/ 4 /**h*/] });`

Completed in 27 milliseconds

1...<<1161116211631164116511661167116811691170>>...1235