Skip to content

Commit efeae1e

Browse files
aanchal88clydin
authored andcommitted
docs: remove duplicate words
1 parent 3a57657 commit efeae1e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/SAVED_REPLIES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Hello, errors like `Error encountered resolving symbol values statically` mean t
8484
Angular CLI always runs *some* static analysis, even in JIT mode, in order to discover lazy-loaded routes.
8585
This may cause a lot of static analysis errors to surface when importing your project into the CLI, or upgrading for older versions where we didn't run this kind of analysis.
8686
87-
Below are good resources on how to to debug these errors:
87+
Below are good resources on how to debug these errors:
8888
- https://gist.github.com/chuckjaz/65dcc2fd5f4f5463e492ed0cb93bca60
8989
- https://github.com/rangle/angular-2-aot-sandbox#aot-dos-and-donts
9090

docs/specifications/schematic-prompts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Prompts have several different types which provide the ability to display an inp
5656
- `input` - textual input; ideal for string or number options
5757
- `list` - a predefined set of items which may be selected
5858

59-
When using the _shorthand_ form, the most appropriate type will automatically be selected based on the property's schema. In the example, the `name` prompt will use an `input` type because it it is a `string` property. The `useColor` prompt will use a `confirmation` type because it is a boolean property with `yes` corresponding to `true` and `no` corresponding to `false`.
59+
When using the _shorthand_ form, the most appropriate type will automatically be selected based on the property's schema. In the example, the `name` prompt will use an `input` type because it is a `string` property. The `useColor` prompt will use a `confirmation` type because it is a boolean property with `yes` corresponding to `true` and `no` corresponding to `false`.
6060

6161
It is also important that the response from the user conforms to the contraints of the property. By specifying constraints using the JSON schema, the prompt runtime will automatically validate the response provided by the user. If the value is not acceptable, the user will be asked to enter a new value. This ensures that any values passed to the schematic will meet the expectations of the schematic's implementation and removes the need to add additional checks within the schematic's code.
6262

packages/angular_devkit/architect/testing/test-project-host.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class TestProjectHost extends NodeJsSyncHost {
7474
),
7575
);
7676

77-
// Find a unique folder that we can write to to use as current root.
77+
// Find a unique folder that we can write to use as current root.
7878
return this.findUniqueFolderPath().pipe(
7979
// Save the path and create a scoped host for it.
8080
tap((newFolderPath) => {

packages/angular_devkit/build_angular/src/builders/browser/specs/base-href_spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('Browser Builder base href', () => {
6161
await run.stop();
6262
});
6363

64-
it('should insert base href in the the correct position', async () => {
64+
it('should insert base href in the correct position', async () => {
6565
host.writeMultipleFiles({
6666
'src/index.html': tags.oneLine`
6767
<html><head><meta charset="UTF-8"></head>

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5595,7 +5595,7 @@ declare namespace ts {
55955595
* When targetSource file is specified, emits the files corresponding to that source file,
55965596
* otherwise for the whole program.
55975597
* In case of EmitAndSemanticDiagnosticsBuilderProgram, when targetSourceFile is specified,
5598-
* it is assumed that that file is handled from affected file list. If targetSourceFile is not specified,
5598+
* it is assumed that file is handled from affected file list. If targetSourceFile is not specified,
55995599
* it will only emit all the affected files instead of whole program
56005600
*
56015601
* The first of writeFile if provided, writeFile of BuilderProgramHost if provided, writeFile of compiler host
@@ -7270,4 +7270,4 @@ declare namespace ts {
72707270
*/
72717271
function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
72727272
}
7273-
export = ts;
7273+
export = ts;

0 commit comments

Comments
 (0)