docs: remove duplicated the (#40434)

PR Close #40434
This commit is contained in:
Alexey Elin 2021-01-14 22:03:58 +03:00 committed by Andrew Kushnir
parent b971bc6f70
commit cf02cf1e18
20 changed files with 23 additions and 23 deletions

View File

@ -107,7 +107,7 @@ echo "export CI_SECRET_PAYLOAD_FIREBASE_TOKEN=\"${CI_SECRET_PAYLOAD_FIREBASE_TOK
####################################################################################################
####################################################################################################
## Source `$BASH_ENV` to make the variables available immediately. ##
## ***NOTE: This must remain the the last action in this script*** ##
## ***NOTE: This must remain the last action in this script*** ##
####################################################################################################
####################################################################################################
source $BASH_ENV;

View File

@ -205,7 +205,7 @@ function validateCommonConfig(config) {
*/
function readConfigFile(configPath, returnEmptyObjectOnError) {
if (returnEmptyObjectOnError === void 0) { returnEmptyObjectOnError = false; }
// If the the `.ts` extension has not been set up already, and a TypeScript based
// If the `.ts` extension has not been set up already, and a TypeScript based
// version of the given configuration seems to exist, set up `ts-node` if available.
if (require.extensions['.ts'] === undefined && fs.existsSync(configPath + ".ts") &&
isTsNodeAvailable()) {

View File

@ -121,7 +121,7 @@ function validateCommonConfig(config) {
*/
function readConfigFile(configPath, returnEmptyObjectOnError) {
if (returnEmptyObjectOnError === void 0) { returnEmptyObjectOnError = false; }
// If the the `.ts` extension has not been set up already, and a TypeScript based
// If the `.ts` extension has not been set up already, and a TypeScript based
// version of the given configuration seems to exist, set up `ts-node` if available.
if (require.extensions['.ts'] === undefined && fs.existsSync(configPath + ".ts") &&
isTsNodeAvailable()) {

View File

@ -100,7 +100,7 @@ function validateCommonConfig(config: Partial<NgDevConfig>) {
* configuration file cannot be read.
*/
function readConfigFile(configPath: string, returnEmptyObjectOnError = false): object {
// If the the `.ts` extension has not been set up already, and a TypeScript based
// If the `.ts` extension has not been set up already, and a TypeScript based
// version of the given configuration seems to exist, set up `ts-node` if available.
if (require.extensions['.ts'] === undefined && existsSync(`${configPath}.ts`) &&
isTsNodeAvailable()) {

View File

@ -4,7 +4,7 @@ load(":angular_integration_test.bzl", "angular_integration_test")
# cases the tests are able to select a random free port.
#
# Where `ng e2e` is used we pass `ng e2e --port 0` which prompts the cli
# to select a random free port for the the e2e test. The protractor.conf is
# to select a random free port for the e2e test. The protractor.conf is
# automatically updated to use this port.
#
# Karma automatically finds a free port so no effort is needed there.
@ -61,7 +61,7 @@ INTEGRATION_TESTS = {
},
"hello_world__systemjs_umd": {
# Special case for `hello_world__systemjs_umd` test as we want to pin
# `systems` at version 0.20.2 and not link to the the root @npm//systemjs
# `systems` at version 0.20.2 and not link to the root @npm//systemjs
# which is stuck at 0.18.10 and can't be updated to 0.20.2 without
# breaking the legacy saucelabs job.
"pinned_npm_packages": ["systemjs"],

View File

@ -331,7 +331,7 @@ def _filter_out_generated_files(files, extension, package_path = None):
files_list = files.to_list() if type(files) == _DEPSET_TYPE else files
for file in files_list:
# If the "package_path" parameter has been specified, filter out files
# that do not start with the the specified package path.
# that do not start with the specified package path.
if package_path and not file.short_path.startswith(package_path):
continue

View File

@ -1773,7 +1773,7 @@ export class HttpClient {
/**
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and
* returns the the full event stream.
* returns the full event stream.
*
* @param url The endpoint URL.
* @param body The resources to edit.

View File

@ -90,7 +90,7 @@ import {Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef, ɵstri
* You might want to show a set of properties from the same object. If you are waiting
* for asynchronous data, the object can be undefined.
* In this case, you can use `ngIf` and store the result of the condition in a local
* variable as shown in the the following example.
* variable as shown in the following example.
*
* {@example common/ngIf/ts/module.ts region='NgIfAs'}
*

View File

@ -46,7 +46,7 @@ export class UmdReflectionHost extends Esm5ReflectionHost {
}
getDeclarationOfIdentifier(id: ts.Identifier): Declaration|null {
// First we try one of the the following:
// First we try one of the following:
// 1. The `exports` identifier - referring to the current file/module.
// 2. An identifier (e.g. `foo`) that refers to an imported UMD module.
// 3. A UMD style export identifier (e.g. the `foo` of `exports.foo`).

View File

@ -173,7 +173,7 @@ export class EsmRenderingFormatter implements RenderingFormatter {
}
/**
* Rewrite the the IVY switch markers to indicate we are in IVY mode.
* Rewrite the IVY switch markers to indicate we are in IVY mode.
*/
rewriteSwitchableDeclarations(
outputText: MagicString, sourceFile: ts.SourceFile,

View File

@ -10,7 +10,7 @@
/**
* A marker that indicates the start of a segment in a mapping.
*
* The end of a segment is indicated by the the first segment-marker of another mapping whose start
* The end of a segment is indicated by the first segment-marker of another mapping whose start
* is greater or equal to this one.
*/
export interface SegmentMarker {

View File

@ -64,7 +64,7 @@ interface EmitResolver {
* solves it conceptually the same way, but obviously doesn't need to access an `@internal` API.
*
* The set that is returned by this function is meant to be filled with import declaration nodes
* that have been referenced in a value-position by the transform, such the the installed patch can
* that have been referenced in a value-position by the transform, such the installed patch can
* ensure that those import declarations are not elided.
*
* See below. Note that this uses sourcegraph as the TypeScript checker file doesn't display on

View File

@ -448,7 +448,7 @@ describe('aot summaries for jit', () => {
expect(lib3ModuleNgSummarySource)
.toMatch(/export function Lib3ModuleNgSummary\(\).*reference:i3\.ReexportModule,/s);
// ngsummaries should re-export all used summaries directly. With external symbol re-exports
// enabled, the the "lib1" summaries would be re-exported through "lib2" in order to avoid
// enabled, the "lib1" summaries would be re-exported through "lib2" in order to avoid
// a *direct* dependency on "lib1".
expect(lib3ModuleNgSummarySource)
.toContain(

View File

@ -178,7 +178,7 @@ export function createRootComponentView(
ngDevMode && assertIndexInRange(rootView, index);
rootView[index] = rNode;
// '#host' is added here as we don't know the real host DOM name (we don't want to read it) and at
// the same time we want to communicate the the debug `TNode` that this is a special `TNode`
// the same time we want to communicate the debug `TNode` that this is a special `TNode`
// representing a host element.
const tNode: TElementNode = getOrCreateTNode(tView, index, TNodeType.Element, '#host', null);
const mergedAttrs = tNode.mergedAttrs = def.hostAttrs;

View File

@ -365,7 +365,7 @@ export class MinLengthValidator implements Validator, OnChanges {
/**
* @description
* Tracks changes to the the minimum length bound to this directive.
* Tracks changes to the minimum length bound to this directive.
*/
@Input()
minlength!: string|number; // This input is always defined, since the name matches selector.
@ -443,7 +443,7 @@ export class MaxLengthValidator implements Validator, OnChanges {
/**
* @description
* Tracks changes to the the maximum length bound to this directive.
* Tracks changes to the maximum length bound to this directive.
*/
@Input()
maxlength!: string|number; // This input is always defined, since the name matches selector.
@ -537,7 +537,7 @@ export class PatternValidator implements Validator, OnChanges {
}
/**
* Method that validates whether the value matches the the pattern requirement.
* Method that validates whether the value matches the pattern requirement.
* @nodoc
*/
validate(control: AbstractControl): ValidationErrors|null {

View File

@ -130,7 +130,7 @@ describe('language-service/compiler integration', () => {
// when invoked via the Language Service. Testing this via the LS is important as only the LS
// requests Angular analysis in the presence of TypeScript-level errors. In the case of broken
// imports this distinction is especially important: Angular's incremental analysis is
// built on the the compiler's dependency graph, and this graph must be able to function even
// built on the compiler's dependency graph, and this graph must be able to function even
// with broken imports.
//
// The test works by creating a component/module pair where the module imports and declares a

View File

@ -516,7 +516,7 @@ export function getStatusText(code: number) {
}
/**
* Returns true if the the Http Status Code is 200-299 (success)
* Returns true if the Http Status Code is 200-299 (success)
*/
export function isSuccess(status: number): boolean {
return status >= 200 && status < 300;

View File

@ -167,7 +167,7 @@ class ApplyRedirects {
.pipe(
concatMap(childOutlet => {
const child = segmentGroup.children[childOutlet];
// Sort the routes so routes with outlets that match the the segment appear
// Sort the routes so routes with outlets that match the segment appear
// first, followed by routes for other outlets, which might match if they have an
// empty path.
const sortedRoutes = sortByMatchingOutlets(routes, childOutlet);

View File

@ -25,7 +25,7 @@ import {RouterLink, RouterLinkWithHref} from './router_link';
* is active.
*
* Use this directive to create a visual distinction for elements associated with an active route.
* For example, the following code highlights the word "Bob" when the the router
* For example, the following code highlights the word "Bob" when the router
* activates the associated route:
*
* ```

View File

@ -266,7 +266,7 @@ export class GuardsCheckEnd extends RouterEvent {
}
/**
* An event triggered at the the start of the Resolve phase of routing.
* An event triggered at the start of the Resolve phase of routing.
*
* Runs in the "resolve" phase whether or not there is anything to resolve.
* In future, may change to only run when there are things to be resolved.