| /third_party/typescript/src/server/ |
| D | typingsCache.ts | 41 if ((arr1 || emptyArray).length === 0 && (arr2 || emptyArray).length === 0) { 117 typings: entry ? entry.typings : emptyArray, 135 return !typeAcquisition || !typeAcquisition.enable ? emptyArray : typings;
|
| D | project.ts | 227 typingFiles: SortedReadonlyArray<string> = emptyArray; 492 return ts.emptyArray; 503 return addRange(result, this.typingFiles) || ts.emptyArray; 719 return filter(this.projectErrors, diagnostic => !diagnostic.file) || emptyArray; 726 return this.projectErrors || emptyArray; 791 return { emitSkipped: true, diagnostics: emptyArray }; 986 return emptyArray; 1175 … readonly Path[] = this.resolutionCache.finishRecordingFilesWithChangedResolutions() || emptyArray; 1354 … const oldExternalFiles = this.externalFiles || emptyArray as SortedReadonlyArray<string>; 1825 if (this.projectService.serverMode !== LanguageServiceMode.Semantic) return emptyArray; [all …]
|
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| D | programUpdates.ts | 28 changes: emptyArray 48 changes: emptyArray 80 changes: emptyArray 114 changes: emptyArray 318 changes: emptyArray 380 changes: emptyArray 491 changes: emptyArray 542 oldPrograms: emptyArray, 560 oldPrograms: emptyArray, 566 baseline.push(`First program is not updated:: ${getPrograms() === emptyArray}`); [all …]
|
| D | forceConsistentCasingInFileNames.ts | 120 changes: emptyArray, 295 changes: emptyArray, 327 changes: emptyArray, 358 changes: emptyArray,
|
| D | incremental.ts | 33 const argsToPass = [incremental ? "-i" : "-w", ...(optionsToExtend || emptyArray)]; 35 let oldPrograms: readonly CommandLineProgram[] = emptyArray; 190 … assert.deepEqual(state.semanticDiagnosticsPerFile!.get(libFile.path as Path), emptyArray); 191 … assert.deepEqual(state.semanticDiagnosticsPerFile!.get(file1.path as Path), emptyArray); 388 changes: emptyArray
|
| D | watchEnvironment.ts | 217 changes: emptyArray 413 changes: emptyArray 432 changes: emptyArray 451 changes: emptyArray 466 changes: emptyArray
|
| /third_party/typescript/src/services/refactors/ |
| D | generateGetAccessorAndSetAccessor.ts | 28 if (!context.endPosition) return emptyArray; 30 if (!info) return emptyArray; 48 return emptyArray;
|
| D | addOrRemoveBracesToArrowFunction.ts | 32 if (!info) return emptyArray; 55 return emptyArray;
|
| D | inferFunctionReturnType.ts | 28 if (!info) return emptyArray; 43 return emptyArray;
|
| /third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/array_literals/ |
| D | array_literal_3.ts | 25 const emptyArray: any[] = []; constant 26 Assert.isUndefined(emptyArray[0]);
|
| /third_party/typescript/src/services/codefixes/ |
| D | annotateWithTypeFromJSDoc.ts | 80 return factory.createTypeReferenceNode("any", emptyArray); 101 …sitNode(node.type, transformJSDocType), factory.createTypeReferenceNode("undefined", emptyArray)]); 105 …e([visitNode(node.type, transformJSDocType), factory.createTypeReferenceNode("null", emptyArray)]); 115 …return factory.createFunctionTypeNode(emptyArray, node.parameters.map(transformJSDocParameter), no… 149 … args = factory.createNodeArray([factory.createTypeReferenceNode("any", emptyArray)]);
|
| D | addOptionalPropertyUndefined.ts | 28 return emptyArray; 35 return emptyArray;
|
| /third_party/typescript/tests/baselines/reference/ |
| D | implicitAnyWidenToAny.js | 6 var emptyArray = []; variable 35 var emptyArray = []; variable
|
| D | implicitAnyWidenToAny.symbols | 14 var emptyArray = []; 15 >emptyArray : Symbol(emptyArray, Decl(implicitAnyWidenToAny.ts, 4, 3))
|
| D | implicitAnyWidenToAny.types | 17 var emptyArray = []; 18 >emptyArray : any[]
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | syntacticServer.ts | 147 checkProjectActualFiles(project, emptyArray); 153 checkProjectActualFiles(project, emptyArray); 158 checkProjectActualFiles(project, emptyArray);
|
| D | externalProjects.ts | 29 checkProjectActualFiles(project, emptyArray); 528 emptyArray : // Since no files opened from this project, its not loaded 588 …checkProjectActualFiles(configuredProjectAt(projectService, 0), emptyArray); // Configured project… 657 …checkProjectActualFiles(configuredProjectAt(projectService, 0), emptyArray); // Configured project… 658 …checkProjectActualFiles(configuredProjectAt(projectService, 1), emptyArray); // Configured project… 693 …checkProjectActualFiles(configuredProjectAt(projectService, 0), emptyArray); // Configured project… 694 …checkProjectActualFiles(configuredProjectAt(projectService, 1), emptyArray); // Configured project… 827 checkProjectActualFiles(project, emptyArray);
|
| /third_party/typescript/src/services/ |
| D | navigateTo.ts | 13 if (!patternMatcher) return emptyArray; 94 return emptyArray; 104 return emptyArray;
|
| D | goToDefinition.ts | 5 …rence(resolvedRef.reference.fileName, resolvedRef.fileName, resolvedRef.unverified)] || emptyArray; 20 return getDefinitionFromOverriddenMember(typeChecker, node) || emptyArray; 54 …const importDeclaration = forEach([node, ...symbol?.declarations || emptyArray], n => findAncestor… 113 …itionFromSymbol(typeChecker, symbol, node, failedAliasResolution, calledDeclaration) || emptyArray; 129 …cl, typeChecker, shorthandSymbol, node, /*unverified*/ false, failedAliasResolution)) : emptyArray; 130 …n concatenate(definitions, getDefinitionFromObjectLiteralElement(typeChecker, node) || emptyArray); 148 … return name === undefined ? emptyArray : flatMap(type.isUnion() ? type.types : [type], t => {
|
| /third_party/typescript/src/testRunner/unittests/tsbuild/ |
| D | moduleResolution.ts | 58 changes: emptyArray 66 changes: emptyArray
|
| /third_party/typescript/src/testRunner/unittests/tsc/ |
| D | cancellationToken.ts | 53 let programs: CommandLineProgram[] = emptyArray; 54 let oldPrograms: CommandLineProgram[] = emptyArray;
|
| D | declarationEmit.ts | 23 changes: emptyArray 37 changes: emptyArray
|
| /third_party/typescript/src/testRunner/unittests/ |
| D | moduleResolution.ts | 635 () => emptyArray 662 emptyArray, 699 emptyArray, 736 emptyArray, 774 emptyArray, 827 emptyArray, 890 emptyArray, 931 () => emptyArray 947 () => emptyArray
|
| /third_party/typescript/src/testRunner/unittests/services/ |
| D | languageService.ts | 63 diagnostics: emptyArray, 64 outputFiles: emptyArray, 76 diagnostics: emptyArray,
|
| /third_party/typescript/tests/cases/compiler/ |
| D | implicitAnyWidenToAny.ts | 6 var emptyArray = []; variable
|