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:
parent
0e1110c947
commit
be223328e4
4 changed files with 13 additions and 1 deletions
|
@ -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';
|
||||
|
|
|
@ -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`) */
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/// <reference no-default-lib="true"/>
|
||||
/// <reference lib="esnext" />
|
||||
/// <reference lib="webworker" />
|
||||
|
||||
import { IntlMessageFormat } from 'intl-messageformat';
|
||||
|
||||
import { unescape } from 'lodash';
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
"noImplicitReturns": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"baseUrl": "./",
|
||||
"incremental": true,
|
||||
"tsBuildInfoFile": "tmp/cache/tsconfig.tsbuildinfo",
|
||||
|
|
Loading…
Reference in a new issue