mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Use "lib" in tsconfigs instead of "target".
This commit is contained in:
8
sharp/index.d.ts
vendored
8
sharp/index.d.ts
vendored
@@ -624,14 +624,6 @@ declare namespace sharp {
|
||||
v: AvailableFormatInfo;
|
||||
}
|
||||
|
||||
interface FormatObject extends FormatEnum {
|
||||
/**
|
||||
* Returns an Object containing nested boolean values representing the available input and output formats/methods.
|
||||
* @returns Object containing available formats
|
||||
*/
|
||||
(): FormatEnum;
|
||||
}
|
||||
|
||||
interface CacheResult {
|
||||
memory: { current: number; high: number; max: number; };
|
||||
files: { current: number; max: number; };
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
|
||||
Reference in New Issue
Block a user