Skip to content

Commit

Permalink
feat(*): change TypeScript version range to >=3.2.1 <3.5.0 (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Apr 3, 2019
1 parent 95a948d commit a4f95d3
Show file tree
Hide file tree
Showing 16 changed files with 20,130 additions and 13,214 deletions.
@@ -1,6 +1,6 @@
---
name: 'Default'
about: Default Pull Request Template
name: 'Standard'
about: Standard Pull Request Template
title: ''
labels: ''
assignees: ''
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/typescript_version_upgrade.md
Expand Up @@ -14,5 +14,5 @@ TypeScript version added by this PR: `{{ INSERT_TYPESCRIPT_VERSION }}`
- [ ] I have updated the range value in `packages/typescript-estree/src/parser.ts`
- [ ] I have run the existing tests to make sure they still pass, or made any required updates
- [ ] I have added new tests for the features introduced in this newer version of TypeScript
- New features tests added:
-
- New feature tests added:
- ...
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -74,6 +74,6 @@
"ts-jest": "^24.0.0",
"ts-node": "^8.0.1",
"tslint": "^5.11.0",
"typescript": ">=3.2.1 <3.4.0"
"typescript": ">=3.2.1 <3.5.0"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/util/createRule.ts
Expand Up @@ -26,7 +26,7 @@ type CreateRuleMeta<TMessageIds extends string> = {
// This function will get much easier to call when this is merged https://github.com/Microsoft/TypeScript/pull/26349
// TODO - when the above rule lands; add type checking for the context.report `data` property
export function createRule<
TOptions extends Readonly<any[]>,
TOptions extends any[],
TMessageIds extends string,
TRuleListener extends RuleListener = RuleListener
>({
Expand Down

0 comments on commit a4f95d3

Please sign in to comment.