Replace TS strict_checks with source-level suppressions.

PiperOrigin-RevId: 555445920
diff --git a/java/org/brotli/dec/Decode.java b/java/org/brotli/dec/Decode.java
index 024b9a6..bf9b681 100644
--- a/java/org/brotli/dec/Decode.java
+++ b/java/org/brotli/dec/Decode.java
@@ -1109,8 +1109,8 @@
         case COMPRESSED_BLOCK_START:
           readMetablockHuffmanCodesAndContextMaps(s);
           s.runningState = MAIN_LOOP;
-          // Fall through
 
+        // fall through
         case MAIN_LOOP:
           if (s.metaBlockLength <= 0) {
             s.runningState = BLOCK_START;
@@ -1141,7 +1141,7 @@
           s.j = 0;
           s.runningState = INSERT_LOOP;
 
-          // Fall through
+        // fall through
         case INSERT_LOOP:
           if (s.trivialLiteralContext != 0) {
             while (s.j < s.insertLength) {
@@ -1248,7 +1248,8 @@
           }
           s.j = 0;
           s.runningState = COPY_LOOP;
-          // fall through
+
+        // fall through
         case COPY_LOOP:
           int src = (s.pos - s.distance) & ringBufferMask;
           int dst = s.pos;
@@ -1320,7 +1321,8 @@
         case INIT_WRITE:
           s.ringBufferBytesReady = Math.min(s.pos, s.ringBufferSize);
           s.runningState = WRITE;
-          // fall through
+
+        // fall through
         case WRITE:
           if (writeRingBuffer(s) == 0) {
             // Output buffer is full.
diff --git a/js/decode.ts b/js/decode.ts
index d12b7db..ed80855 100644
--- a/js/decode.ts
+++ b/js/decode.ts
@@ -886,9 +886,15 @@
         ringBufferMask = s.ringBufferSize - 1;
         ringBuffer = s.ringBuffer;
         continue;
+      // Fallthrough case in switch is intentional.
+      // tslint:disable-next-line:ban-ts-suppressions
+      // @ts-ignore error TS7029: Fallthrough case in switch.
       case 3:
         readMetablockHuffmanCodesAndContextMaps(s);
         s.runningState = 4;
+      // Fallthrough case in switch is intentional.
+      // tslint:disable-next-line:ban-ts-suppressions
+      // @ts-ignore error TS7029: Fallthrough case in switch.
       case 4:
         if (s.metaBlockLength <= 0) {
           s.runningState = 2;
@@ -924,6 +930,9 @@
         s.copyLength = copyLengthOffset + ((copyLengthExtraBits <= 16) ? readFewBits(s, copyLengthExtraBits) : readManyBits(s, copyLengthExtraBits));
         s.j = 0;
         s.runningState = 7;
+      // Fallthrough case in switch is intentional.
+      // tslint:disable-next-line:ban-ts-suppressions
+      // @ts-ignore error TS7029: Fallthrough case in switch.
       case 7:
         if (s.trivialLiteralContext !== 0) {
           while (s.j < s.insertLength) {
@@ -1106,6 +1115,9 @@
       case 6:
         copyUncompressedData(s);
         continue;
+      // Fallthrough case in switch is intentional.
+      // tslint:disable-next-line:ban-ts-suppressions
+      // @ts-ignore error TS7029: Fallthrough case in switch.
       case 12:
         s.ringBufferBytesReady = Math.min(s.pos, s.ringBufferSize);
         s.runningState = 13;