Don't skipLibCheck for TypeScript

pull/25053/head
Nick Schonning 2023-05-21 23:31:55 -04:00
parent 0e1110c947
commit be223328e4
No known key found for this signature in database
GPG Key ID: 5DDAAD9C9AAFFD9F
4 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
// from https://joshuatz.com/posts/2021/strongly-typed-service-workers/
/// <reference no-default-lib="true"/>
/// <reference lib="esnext" />
/// <reference lib="webworker" />
import { ExpirationPlugin } from 'workbox-expiration';
import { precacheAndRoute } from 'workbox-precaching';
import { registerRoute } from 'workbox-routing';

View File

@ -1,3 +1,7 @@
/// <reference no-default-lib="true"/>
/// <reference lib="esnext" />
/// <reference lib="webworker" />
/* eslint-disable import/no-commonjs --
We need to use CommonJS here as its imported into a preval file (`emoji_compressed.js`) */

View File

@ -1,3 +1,7 @@
/// <reference no-default-lib="true"/>
/// <reference lib="esnext" />
/// <reference lib="webworker" />
import { IntlMessageFormat } from 'intl-messageformat';
import { unescape } from 'lodash';

View File

@ -10,7 +10,6 @@
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"esModuleInterop": true,
"skipLibCheck": true,
"baseUrl": "./",
"incremental": true,
"tsBuildInfoFile": "tmp/cache/tsconfig.tsbuildinfo",