From 8d609f3fb6fcc17abb0cc175c200e987cf7111e8 Mon Sep 17 00:00:00 2001 From: Martin Schuhfuss Date: Fri, 28 Jul 2023 18:05:01 +0200 Subject: [PATCH] fix: revert adjusted eslint-config (#771) --- .eslintrc.json | 4 ---- src/three.ts | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ac66c329..fbda63ef 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -23,10 +23,6 @@ "@typescript-eslint/ban-types": 1, "@typescript-eslint/no-empty-function": 1, "@typescript-eslint/member-ordering": 1, - "@typescript-eslint/no-unused-vars": [ - 1, - { "vars": "all", "args": "none" } - ], "@typescript-eslint/explicit-member-accessibility": [ 1, { diff --git a/src/three.ts b/src/three.ts index a6fb30fc..bd18194e 100644 --- a/src/three.ts +++ b/src/three.ts @@ -312,7 +312,8 @@ export class ThreeJSOverlayView implements google.maps.WebGLOverlayView { * render animation frame. * @param options */ - public onStateUpdate(options: google.maps.WebGLStateOptions): void {} + public onStateUpdate(options: google.maps.WebGLStateOptions): void; + public onStateUpdate(): void {} /** * Overwrite this method to fetch or create intermediate data structures