Get our previously strict files a bit tighter (#604)

Now they meet noUnusedParameters
This commit is contained in:
Jordi Bunster
2021-04-27 15:27:17 -07:00
committed by GitHub
parent e8b79d6260
commit 154db1dcd5
9 changed files with 22 additions and 29 deletions

View File

@@ -22,13 +22,7 @@ export interface ReactAdapter {
export class Registerer {
public static register(): void {
ko.bindingHandlers.react = {
init: (
element: any,
wrappedValueAccessor: () => any,
allBindings?: ko.AllBindings,
viewModel?: any,
bindingContext?: ko.BindingContext
) => {
init: (element: any, wrappedValueAccessor: () => any) => {
const adapter: ReactAdapter = wrappedValueAccessor();
if (adapter.setElement) {