Use "lib" in tsconfigs instead of "target".

This commit is contained in:
François Nguyen
2017-01-27 21:20:25 +01:00
parent 9af924c080
commit c52ae152ef
2 changed files with 3 additions and 9 deletions

8
sharp/index.d.ts vendored
View File

@@ -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; };

View File

@@ -1,7 +1,9 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,