@eslinted/core 0.7.0-rc.4 → 0.7.0-rc.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Scope } from "../input.js";
|
2
2
|
import type { Options } from "../../../factory/Factory.js";
|
3
3
|
type Parsers = {
|
4
|
-
[S in Scope]: ConstructorParameters<typeof Options[S]>[2];
|
4
|
+
[S in Scope]: ConstructorParameters<typeof Options[S]>[2] extends readonly [unknown, ...unknown[]] ? unknown : null;
|
5
5
|
};
|
6
6
|
export type { Parsers as default };
|
7
7
|
//# sourceMappingURL=parsers.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,KAAK,OAAO,GAAG;
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../src/boundary/input/parsers/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,KAAK,OAAO,GAAG;KACZ,CAAC,IAAI,KAAK,GAAG,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,GAC9F,OAAO,GACP,IAAI;CACT,CAAC;AAEF,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
import type { Scope } from "../input.js";
|
2
2
|
import type { Options } from "../../../factory/Factory.js";
|
3
3
|
|
4
|
-
type Parsers = {
|
4
|
+
type Parsers = {
|
5
|
+
[S in Scope]: ConstructorParameters<typeof Options[S]>[2] extends readonly [unknown, ...unknown[]]
|
6
|
+
? unknown
|
7
|
+
: null
|
8
|
+
};
|
5
9
|
|
6
10
|
export type { Parsers as default };
|