Skip to content

Commit

Permalink
Merge pull request #116 from fluix/feature/update-typescript
Browse files Browse the repository at this point in the history
Update typescript to 5
  • Loading branch information
endway authored Sep 14, 2023
2 parents d7f413f + b47c434 commit 2a5c1d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng1-shift",
"version": "0.1.3",
"version": "0.2.0",
"description": "Angular 1.5+ decorators for writing Angular2 like.",
"files": [
"dist"
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"peerDependencies": {
"angular": "^1.5.0",
"typescript": "^4.0.5",
"typescript": "^5.x",
"tslib": "^2.4.0"
},
"devDependencies": {
Expand All @@ -67,6 +67,6 @@
"ts-jest": "^26.4.4",
"tslib": "^2.4.0",
"tslint": "^5.9.1",
"typescript": "^4.0.5"
"typescript": "^5.2.2"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ interface Ng1ShiftInjectableObject {
}

export function Inject(dependencyName: string | Ng1ShiftInjectableObject): ParameterDecorator {
return function (target: any, property: string | symbol, parameterIndex: number) {
return function (target: any, property: string | symbol | undefined, parameterIndex: number) {
if (!target.$inject) {
target.$inject = [];
}
Expand Down

0 comments on commit 2a5c1d6

Please sign in to comment.