Skip to content

Commit

Permalink
implicit this
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Apr 10, 2024
1 parent 9498217 commit 29e65b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/interactivity/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const afterNextFrame = ( callback: () => void ) => {
*/
function createFlusher( compute: () => unknown, notify: () => void ): Flusher {
let flush: () => void;
const dispose = effect( function () {
const dispose = effect( function ( this: any ) {
flush = this.c.bind( this );
this.x = compute;
this.c = notify;
Expand Down
1 change: 0 additions & 1 deletion packages/interactivity/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"strictNullChecks": false,
"strictPropertyInitialization": false,

"noImplicitThis": false,
"noImplicitAny": false
},
"include": [ "src/**/*" ]
Expand Down

0 comments on commit 29e65b8

Please sign in to comment.