Skip to content

Commit af16920

Browse files
author
Josh Goldberg
committed
Merge branch 'master'
2 parents 44a164e + e34b2ad commit af16920

File tree

2,550 files changed

+329356
-37813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,550 files changed

+329356
-37813
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
],
3535

3636
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
37+
"@typescript-eslint/consistent-type-assertions": ["error", { "assertionStyle": "as" }],
3738

3839
"no-duplicate-imports": "off",
3940
"@typescript-eslint/no-duplicate-imports": "error",

.github/issue_template.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ jobs:
2020
# a pull request then we can checkout the head.
2121
fetch-depth: 2
2222

23-
# If this run was triggered by a pull request event, then checkout
24-
# the head of the pull request instead of the merge commit.
25-
- run: git checkout HEAD^2
26-
if: ${{ github.event_name == 'pull_request' }}
27-
2823
# Initializes the CodeQL tools for scanning.
2924
- name: Initialize CodeQL
3025
uses: github/codeql-action/init@v1

.github/workflows/sync-wiki.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Sync Two Wiki Repos
2+
3+
on: [gollum]
4+
5+
jobs:
6+
sync:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Get repo name
10+
run: R=${GITHUB_REPOSITORY%?wiki}; echo "BASENAME=${R##*/}" >> $GITHUB_ENV
11+
- name: Checkout ${{ env.BASENAME }}-wiki
12+
uses: actions/checkout@v2
13+
with:
14+
repository: "${{ GITHUB.repository_owner }}/${{ env.BASENAME }}-wiki"
15+
token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
16+
fetch-depth: 0
17+
- name: Run sync
18+
run: ./.github/workflows/sync
19+
env:
20+
PUSHER: typescript-bot <bot@typescriptlang.org>
21+
AUTH: ${{ secrets.TS_BOT_GITHUB_TOKEN }}

.github/workflows/update-package-lock.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
# This is probably 6am UTC, which is 10pm PST or 11pm PDT
66
# Alternatively, 6am local is also fine
77
- cron: '0 6 * * *'
8+
workflow_dispatch: {}
89

910
jobs:
1011
build:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ You can also use the [provided VS Code launch configuration](./.vscode/launch.te
170170

171171
## Adding a Test
172172

173-
To add a new test case, add a `.ts` file in `tests\cases\compiler` with code that shows the your bug is now fixed, or your new feature now works.
173+
To add a new test case, add a `.ts` file in `tests\cases\compiler` with code that shows the bug is now fixed, or your new feature now works.
174174

175175
These files support metadata tags in the format `// @metaDataName: value`.
176176
The supported names and values are the same as those supported in the compiler itself, with the addition of the `fileName` flag.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ with any additional questions or comments.
4343
## Documentation
4444

4545
* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
46-
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/basic-types.html)
46+
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
4747
* [Homepage](https://www.typescriptlang.org/)
4848

4949
## Building

0 commit comments

Comments
 (0)