@atlaspack/conditional-import-types 2.13.5-typescript-6de04fbae.0 → 2.13.5-typescript-80839fbd5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -4
- package/package.json +2 -2
- package/tsconfig.json +4 -0
package/index.d.ts
CHANGED
|
@@ -29,13 +29,13 @@ declare function importCond<CondT, CondF>(
|
|
|
29
29
|
ifTrueDependency: CondT extends void
|
|
30
30
|
? NoImportErrorMessage
|
|
31
31
|
: CondT extends ESModuleWithDefaultExport
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
? ModuleRef<CondT>
|
|
33
|
+
: NoDefaultErrorMessage,
|
|
34
34
|
ifFalseDependency: CondF extends void
|
|
35
35
|
? NoImportErrorMessage
|
|
36
36
|
: CondF extends ESModuleWithDefaultExport
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
? ModuleRef<CondF>
|
|
38
|
+
: NoDefaultErrorMessage,
|
|
39
39
|
): CondT extends ESModuleWithDefaultExport
|
|
40
40
|
? CondF extends ESModuleWithDefaultExport
|
|
41
41
|
? ConditionalImport<CondT, CondF>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/conditional-import-types",
|
|
3
|
-
"version": "2.13.5-typescript-
|
|
3
|
+
"version": "2.13.5-typescript-80839fbd5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"type": "commonjs",
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "80839fbd5c6d6668c2622849856a4b25601354a8"
|
|
16
16
|
}
|
package/tsconfig.json
ADDED