Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
feat: add support for override keyword in typescript (#40)
Browse files Browse the repository at this point in the history
Need to have recent enough libs to support this.
  • Loading branch information
kpdecker authored Jul 16, 2021
1 parent a9cd040 commit 38bb0ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"unreferenced"
],
"dependencies": {
"@typescript-eslint/parser": "^4.15.2",
"@typescript-eslint/typescript-estree": "^4.15.2",
"@typescript-eslint/parser": "^4.28.1",
"@typescript-eslint/typescript-estree": "^4.28.1",
"chalk": "^4.1.0",
"eslint": "^7.20.0",
"flow-remove-types": "^2.145.0",
Expand All @@ -50,7 +50,7 @@
"resolve": "^1.20.0",
"simple-git": "^2.38.0",
"term-size": "^2.2.1",
"typescript": "^4.2.2",
"typescript": "^4.3.5",
"yargs": "^16.2.0"
},
"devDependencies": {
Expand Down
9 changes: 8 additions & 1 deletion src/__tests__/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,14 @@ export default promise
files: [
{ name: 'package.json', content: '{ "main": "index.ts" }' },
{ name: 'index.ts', content: `import foo from '@root/foo';` },
{ name: 'foo.ts', content: '' },
{
name: 'foo.ts',
content: `
class Foo extends Bar {
override baz() {}
}
`,
},
{ name: 'bar.ts', content: '' },
{
name: 'tsconfig.json',
Expand Down

0 comments on commit 38bb0ba

Please sign in to comment.