Searched refs:newContent (Results 1 – 25 of 399) sorted by relevance
12345678910>>...16
/third_party/typescript/tests/cases/fourslash/ |
D | refactorConvertExport_exportNodeKinds.ts | 73 const newContent = tests[name]; constant 76 if (newContent === undefined) { 84 newContent: { [fileName]: newContent },
|
D | refactorConvertParamsToDestructuredObject_tupleRestParam.ts | 26 newContent: `function fn1({ a, b, args }: { a: number; b: number; args: [number, number]; }) { } 35 …newContent: `function fn2({ a, b, args }: { a: number; b: number; args: [number, number, ...string… 45 newContent: `function fn3({ b, c }: { b: boolean; c: []; }) { } 54 newContent: `function fn4({ a, args = [] }: { a: number; args?: [...string[]]; }) { }
|
D | typeExtractionDoesNotDuplicateTrailingComment.ts | 14 newContent: `type /*RENAME*/NewType = { 30 newContent: `type NewType = { 50 newContent: `type NewType = {
|
D | refactorConvertParamsToDestructuredObject_methodOverrides.ts | 19 newContent: `class A { 35 newContent: `class A {
|
D | refactorConvertToGetAccessAndSetAccess23.ts | 13 newContent: `class A { 30 newContent: `class A {
|
D | extract-method13.ts | 17 newContent: 44 newContent:
|
D | refactorConvertArrowFunctionOrFunctionExpression_ToArrow_EmptyReturn.ts | 12 newContent: `const foo = () => {
|
D | extract-unterminated2.ts | 11 newContent: `const foo = /*RENAME*/newFunction()
|
D | extract-method31.ts | 20 newContent:
|
D | refactorExtractType29.ts | 10 newContent: `type /*RENAME*/NewType<P> = P;
|
D | refactorExtractType23.ts | 10 newContent: `type /*RENAME*/NewType<U> = U;
|
D | refactorConvertParamsToDestructuredObject_superCall.ts | 17 newContent: `class A {
|
D | refactorConvertToGetAccessAndSetAccess34.ts | 12 newContent: `const A = {
|
D | refactorAddOrRemoveBracesToArrowFunction11.ts | 10 newContent: `const foo = a => (1, 2, 3);`,
|
D | refactorConvertParamsToDestructuredObject_classExpressionHeritage.ts | 18 newContent: `const foo = class Foo {
|
D | refactorConvertParamsToDestructuredObject_functionComments2.ts | 17 newContent: `function foo(// comment
|
D | refactorAddOrRemoveBracesToArrowFunction13.ts | 10 newContent: `const foo = a => null;`,
|
D | refactorConvertArrowFunctionOrFunctionExpression_ToAnon_SingleLine.ts | 10 newContent: `const foo = function() {
|
D | refactorConvertParamsToDestructuredObject_shorthandProperty.ts | 18 newContent: `function f({ a, b, rest = [] }: { a: number; b: number; rest?: string[]; }) { }
|
D | textChangesPreserveNewlines3.ts | 19 newContent:
|
D | refactorExtractType13.ts | 14 newContent: `type /*RENAME*/NewType = boolean;
|
D | refactorConvertArrowFunctionOrFunctionExpression_ToNamed_SingleLine.ts | 10 newContent: `function foo() {
|
D | extract-method2.ts | 17 newContent:
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | resolutionCache.ts | 26 const newContent = `import {x} from "f1" constant 28 root.content = newContent; 40 …icOfFileFromProgram(watch.getCurrentProgram().getProgram(), root.path, newContent.indexOf("var x")… 79 const newContent = `import {x} from "f1"`; constant 80 root.content = newContent;
|
/third_party/typescript/src/instrumenter/ |
D | instrumenter.ts | 40 …const newContent = tscContent.substr(0, index1) + loggerContent + prepareCode + invocationLine + c… constant 41 fs.writeFile(tscPath, newContent, err => {
|
12345678910>>...16