1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Don't skipLibCheck for TypeScript

This commit is contained in:
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",