Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4f95d3

Browse files
authored
feat(*): change TypeScript version range to >=3.2.1 <3.5.0 (typescript-eslint#399)
1 parent 95a948d commit a4f95d3

File tree

16 files changed

+20130
-13214
lines changed

16 files changed

+20130
-13214
lines changed

.github/PULL_REQUEST_TEMPLATE/default.md renamed to .github/PULL_REQUEST_TEMPLATE/standard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: 'Default'
3-
about: Default Pull Request Template
2+
name: 'Standard'
3+
about: Standard Pull Request Template
44
title: ''
55
labels: ''
66
assignees: ''

.github/PULL_REQUEST_TEMPLATE/typescript_version_upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ TypeScript version added by this PR: `{{ INSERT_TYPESCRIPT_VERSION }}`
1414
- [ ] I have updated the range value in `packages/typescript-estree/src/parser.ts`
1515
- [ ] I have run the existing tests to make sure they still pass, or made any required updates
1616
- [ ] I have added new tests for the features introduced in this newer version of TypeScript
17-
- New features tests added:
18-
-
17+
- New feature tests added:
18+
- ...

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@
7474
"ts-jest": "^24.0.0",
7575
"ts-node": "^8.0.1",
7676
"tslint": "^5.11.0",
77-
"typescript": ">=3.2.1 <3.4.0"
77+
"typescript": ">=3.2.1 <3.5.0"
7878
}
7979
}

packages/eslint-plugin/src/util/createRule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type CreateRuleMeta<TMessageIds extends string> = {
2626
// This function will get much easier to call when this is merged https://github.com/Microsoft/TypeScript/pull/26349
2727
// TODO - when the above rule lands; add type checking for the context.report `data` property
2828
export function createRule<
29-
TOptions extends Readonly<any[]>,
29+
TOptions extends any[],
3030
TMessageIds extends string,
3131
TRuleListener extends RuleListener = RuleListener
3232
>({

0 commit comments

Comments
 (0)