Skip to content

Commit

Permalink
Prefix Unused Parameter in Base Type (#43)
Browse files Browse the repository at this point in the history
* Add leading underscore to unused parameter

* Add changelog entry

* Update CHANGELOG.md
  • Loading branch information
daogrady authored Aug 3, 2023
1 parent 26ed3c3 commit 8fe1669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Fixed
- Initialise bound actions with stubs to support `"strict":true` in _tsconfig.json_
- Add leading underscore to appease `noUnusedParameters` in strict tsconfigs

## Version 0.5.0 - 2023-07-25

Expand Down
2 changes: 1 addition & 1 deletion lib/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ export namespace Composition {
}
export class Entity {
static data<T extends Entity> (this:T, input:Object) : T {
static data<T extends Entity> (this:T, _input:Object) : T {
return {} as T // mock
}
}
Expand Down

0 comments on commit 8fe1669

Please sign in to comment.