RestReturns DeepMergeHKT<Ts, Readonly<{ Â Â Â Â DeepMergeArraysURI: "DeepMergeLeafURI"; Â Â Â Â DeepMergeMapsURI: "DeepMergeMapsDefaultURI"; Â Â Â Â DeepMergeOthersURI: "DeepMergeLeafURI"; Â Â Â Â DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI"; Â Â Â Â DeepMergeSetsURI: "DeepMergeSetsDefaultURI"; }>, Readonly<{ Â Â Â Â key: PropertyKey; Â Â Â Â parents: readonly Readonly<Record<PropertyKey, unknown>>[]; }>>
RestReturns DeepMergeHKT<Ts, Readonly<{ Â Â Â Â DeepMergeArraysURI: "DeepMergeLeafURI"; Â Â Â Â DeepMergeMapsURI: "DeepMergeMapsDefaultURI"; Â Â Â Â DeepMergeOthersURI: "DeepMergeLeafURI"; Â Â Â Â DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI"; Â Â Â Â DeepMergeSetsURI: "DeepMergeSetsDefaultURI"; }>, Readonly<{ Â Â Â Â key: PropertyKey; Â Â Â Â parents: readonly Readonly<Record<PropertyKey, unknown>>[]; }>>
RestReturns DeepMergeHKT<Ts, Readonly<{ Â Â Â Â DeepMergeArraysURI: PMF["DeepMergeArraysURI"] extends keyof DeepMergeMergeFunctionURItoKind<any, any, any> Â Â Â Â Â Â Â Â ? any[any] Â Â Â Â Â Â Â Â : "DeepMergeArraysDefaultURI"; Â Â Â Â DeepMergeMapsURI: PMF["DeepMergeMapsURI"] extends keyof DeepMergeMergeFunctionURItoKind<any, any, any> Â Â Â Â Â Â Â Â ? any[any] Â Â Â Â Â Â Â Â : "DeepMergeMapsDefaultURI"; Â Â Â Â DeepMergeOthersURI: PMF["DeepMergeOthersURI"] extends keyof DeepMergeMergeFunctionURItoKind<any, any, any> Â Â Â Â Â Â Â Â ? any[any] Â Â Â Â Â Â Â Â : "DeepMergeLeafURI"; Â Â Â Â DeepMergeRecordsURI: PMF["DeepMergeRecordsURI"] extends keyof DeepMergeMergeFunctionURItoKind<any, any, any> Â Â Â Â Â Â Â Â ? any[any] Â Â Â Â Â Â Â Â : "DeepMergeRecordsDefaultURI"; Â Â Â Â DeepMergeSetsURI: PMF["DeepMergeSetsURI"] extends keyof DeepMergeMergeFunctionURItoKind<any, any, any> Â Â Â Â Â Â Â Â ? any[any] Â Â Â Â Â Â Â Â : "DeepMergeSetsDefaultURI"; }>, Readonly<{ Â Â Â Â key: PropertyKey; Â Â Â Â parents: readonly Readonly<Record<PropertyKey, unknown>>[]; }>>
\ No newline at end of file
diff --git a/Documentation/assets/navigation.js b/Documentation/assets/navigation.js
index fc580d4f..bb8becc5 100644
--- a/Documentation/assets/navigation.js
+++ b/Documentation/assets/navigation.js
@@ -1 +1 @@
-window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAACqVW21LCMBD9lz7jBRQvPArqeEEdQV8cxollkYyhdELq6Dj+u01I0+ZasI/dzTl7dvc07ctPxOCLRb3oLMNkGrWiFLF5/jhcTjMCeyK6O2cLkqc+cDKNep1WFM/zKIUk6r0o/Pg7hRJ+lTCgMxQXDDxr0HSPflsK3c9ozsdKgmdEMXpTCmRepzjoVBgecLW+AefJANbo/SJLYoaXiQQ7ZnB0WEGff0HsBfNkADsE+g5esMgG0BRWS/Lpx8u8xTCpqh+5Ny/jG+3e4lDjL1icbPkOJt45FjKs+W3pP0FQZz/PCgXWucGq7gtMwNLNg410C4I63XpppVtgbQWG7rKW4ULZgsq/Onzo6eYSEqA4djVk0smjofZ8szGp3GNy9zqewyLUq8g32pzJtY26Z0SykDqR/4c6/mTROITtnx63u/preT26v7MU8WCjIQmCOnvrpZW9BdZWYNj7donsW40HG+kWBHW69dLqMhRYW4H2KTLsqWMd3tTARKur5iWwPLfTDk5siNIUJ+/W0GS80dwKjvqXwX0ZbX4F+T6pawb3J3Xi34Csv8W1oOP7BK1WEu4gaXdOKrUHEBNEEdf7CDMCQrnDDWsi5+mAPQYwQxlhPosVpOWhAFdZ8IYnfWz6sQDfEyWW/Qyu8kjwN4I7bBRTnDLfr411YmNne3hLoRZzTS2hffIHsdsmpoYLAAA="
\ No newline at end of file
+window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAACq2WXU/bMBSG/0uuu492wLbeMdZOIMpQy9AkVFVeahoLN4lcZwJN+++zncSJY5+TduUyPud9/B4ff+ThTyTps4zG0ZeC8XU0iHIiE/U5y9YFp+/M6NtEbrkKPbF0HY1HgyhO1KigaTR+sPq7l5w28stUUvFI4pqgox3M6dnfgVVfFELxZAO4J4KRX9ZBFXcRH0Ytwi1rz9+R6yCi7dQ+LdJYsiytxIE1ODtpqSfPNAbFOohoZ1RsKCg2UUQt6C7jv2F9FfcIy7b7Rbjz1fhevfcYdvlrSpCmerAE17G24a3fgfvPAPq2H9BCow12sO17yjj1fOvBo3wbQJ9vd2rr22h9Bx3fzVwzkucs3XhF2IxVlXFURT4tXB7g0T0pvkP/rAD+vtGUChb3WDS4KhVrwR7VGtQhtd4ldIvVauKv1IuS1e/uavH9xrOkB4/yYQB9u9yd2u5yo/UddHb5dUb8y00PHuXbAPp8u1PbO9FofQfOi9TZAa420H5HzJ157XoZrY69GaIrFj5p+58v6E0rCeE3bQnXXs1/wJ539Rec7HaVPAAZjj61/0N0cmDdS6GJIgv/lcacCKKrndNHTk3dIC2YjdAnabEFYTqIaO3OBQE2A6GUrQARZRjR35At3eWYC5uBnQ117M45I3CfbAZC+TG/Xt3OJ9PLnyCmScE4gnvPZ5djUxBOrQEp9SfCWNVnDYTYDISirPKX8zROMqGcBw5yiXLTkL/UDZUYpwzjN4Lq5yIWLJfQ36qXsfftDnCbdfPIPXN1/mrvCS/828yM/scLpL8qceD1ef/54/BUT7/8BwFxh+PYDQAA"
\ No newline at end of file
diff --git a/Documentation/assets/search.js b/Documentation/assets/search.js
index 753e702e..7c8d77a4 100644
--- a/Documentation/assets/search.js
+++ b/Documentation/assets/search.js
@@ -1 +1 @@
-window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAACsVaTXPbNhD9L/SVUYQFSEm+tUnTSdu0naTJ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w2B2gHUb5IgdXrBNDKXxVobXV0/P/8HgMbJN9klAAA=";
\ No newline at end of file
+window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAACsVabW/bRgz+L8pX1/G9yXa+dX0ZsrVdka7FgCAwVEdJtckvkO2uQZD/3rvTSSJl0rKVAfvkSCIf8viQFO+Ux6hY/buJLq4fo3+y5W10IQfRMlmk0UX0bpXcRoNoV+T24v3qdpen5+7e8Nt2kdsH8zzZbFKrG0VPg0o91rV+DvXf7pbzbbZalgju0QtBAA2idVKky21lvgFWjWN/fkvtb4X8JSmy5Gvlm3/WFxitGOMyC+dhG9Q3n37ZZfleKMPtg9FUPErtXoXD4wEnKxTKzy9JvkvbXvqbB32Uo+lYGMDOw7pBcRcBw/152LnSAcq1y+U2Le6SeXqOuQ9O1o9nHP0A1MS0q42NNly3523/GnNiJJuK+Opi/7nIN6cYPYNaR5n3urAmjVHNomez7YnLbjwYlsov5EmuDJsVMIGZvU/W62x5f5JXQOn/CUvlwLDWPSEmtfdMSPpE5JkBoertfVrcH6g3//joevs1XaZFNj+4phIxSB5bdaWXTCRfp+naC7wsiuRh8/nq8kQHzkiEo3yqcPo2oBLklAbUDgVJaiu39mkNif2fNdIK8KSVHC6Q392tk2yeBZUjDbfLAydVVqTz7ap4ONEFqNfTjyMCX45CnbFujSxogWh645DPghQP37PpEma6umyjknOT2G+f/vjQTnp377l57jG6w+3NU369zfK9HuvuPdcvj9HtlzdPTq4/0nnbL3fvuX55jG6/vHnKL3Ke7p6mj/CsBOl2jZ+iyRdm92sS7JswQr1xKjE4JOBb+w0AoFEB1Mg+fZk64NMXwKL8rWF99jFpzGcfgEXpV8P65GGykE+eTtiwierEbTPfTVyJfARxB6CLdLPKv7Pg4fFp8GBz+TFbExvqEts96w38ald4IQY7PO4dFtwIWkE5YjvMl7FrAZ/mRbbeMtv3PYFjN/I8ch2cfexjrIF17dsg10jtpbt30GAtr1MrUSQu6FfpXZ768BPr8ZikcMc6WrtpYPrz1bvZx6s3by//4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HgvGYB5ebgBYjYCTnNrnlfHn2CxqtHTnN5tc1RWgHM1gAIY0xxjt2m6Xrhj58R/tt4VGYqfBMsfcxDN50qgCYxLLmCpP7IB8RIgXhxN6WaPZuClLjniUjv15/rATZBWKvCrJuF3yoDc+U8ZAAQUmayUuWjdV//fAPTBsu28zult2yUBzJoRo5Y1Z3pAE5SF4cipNc+JohYgQwUXJ4BQfvUA+qAyBEdWo78tT00afZBdXGb/vcHlIEApyziwxEXbn0JAZQ2UufZTfuhulMAaQ2qFDlw1YC7FiYADxkTI8ZhVb0dbAk9U0FYmtEMucxbhTBKUJyDdcJFbNqelQBNUqOHoXmf41SVhWXNZWn/0AnqgnDTH1V5GAaXqRTEOcWYxWu9akCNBdRpoD01BhjSQVQIEMRnkVJUfXM93FpPyKBcEF9g1XNtxmhv/tYfqnwBBV3nBEWy70Gxt3zjZDwQBqktzDcGqEqmtQB+LuWz8Xv7jKdACSqxOdWQM1ICfhvTTDlYuE/NsaYWub56efgKkw7kG/ywAAA==";
\ No newline at end of file
diff --git a/Documentation/index.html b/Documentation/index.html
index 49088daa..db71d8ec 100644
--- a/Documentation/index.html
+++ b/Documentation/index.html
@@ -1,4 +1,4 @@
-typescript-esbuild - v0.2.17
+typescript-esbuild - v0.2.18
\ No newline at end of file
diff --git a/README.md b/README.md
index 7abf1d94..7317f13d 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ npm install -D -E typescript-esbuild
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts'"
},
"devDependencies": {
- "typescript-esbuild": "0.2.17"
+ "typescript-esbuild": "0.2.18"
}
}
```
diff --git a/Source/Class/Theme.ts b/Source/Class/Theme.ts
index ee97d151..09ea6f91 100644
--- a/Source/Class/Theme.ts
+++ b/Source/Class/Theme.ts
@@ -10,16 +10,8 @@ export default class
const { Directory } = this._Mapping(Reflection) ?? {};
if (Directory) {
- if (
- !(
- Reflection.url &&
- DefaultTheme.URL_PREFIX.test(Reflection.url)
- )
- ) {
- const URL = [
- Directory,
- `${DefaultTheme.getUrl(Reflection)}.html`,
- ].join("/");
+ if (!(Reflection.url && URL_PREFIX.test(Reflection.url))) {
+ const URL = [Directory, `${getUrl(Reflection)}.html`].join("/");
URLs.push(
new UrlMapping(URL, Reflection, this.reflectionTemplate)
@@ -33,13 +25,13 @@ export default class
if (Child instanceof DeclarationReflection) {
this.buildUrls(Child, URLs);
} else {
- DefaultTheme.applyAnchorUrl(Child, Reflection);
+ applyAnchorUrl(Child, Reflection);
}
return true;
});
} else if (Reflection.parent) {
- DefaultTheme.applyAnchorUrl(Reflection, Reflection.parent);
+ applyAnchorUrl(Reflection, Reflection.parent);
}
return URLs;
@@ -50,31 +42,31 @@ export default class
Mapping: Mapping[] = [
{
- Kind: [ReflectionKind.Class],
+ Kind: [Class],
Directory: "Class",
},
{
- Kind: [ReflectionKind.Interface],
+ Kind: [Interface],
Directory: "Interface",
},
{
- Kind: [ReflectionKind.Enum],
+ Kind: [Enum],
Directory: "Enum",
},
{
- Kind: [ReflectionKind.Namespace, ReflectionKind.Module],
+ Kind: [Namespace, Module],
Directory: "Module",
},
{
- Kind: [ReflectionKind.TypeAlias],
+ Kind: [TypeAlias],
Directory: "Type",
},
{
- Kind: [ReflectionKind.Function],
+ Kind: [_Function],
Directory: "Function",
},
{
- Kind: [ReflectionKind.Variable],
+ Kind: [Variable],
Directory: "Variable",
},
];
@@ -85,7 +77,16 @@ import type Type from "../Interface/Theme.js";
export const {
DeclarationReflection,
- DefaultTheme,
- ReflectionKind,
+ DefaultTheme: { URL_PREFIX, getUrl, applyAnchorUrl },
+ ReflectionKind: {
+ Interface,
+ Class,
+ Enum,
+ Namespace,
+ Module,
+ TypeAlias,
+ Function: _Function,
+ Variable,
+ },
UrlMapping,
} = await import("typedoc");
diff --git a/Source/Interface/Build.ts b/Source/Interface/Build.ts
index 0362f0f1..ca1a77fd 100644
--- a/Source/Interface/Build.ts
+++ b/Source/Interface/Build.ts
@@ -18,8 +18,8 @@ export default interface Type {
(
File: Pattern[],
Option?: {
- ESBuild?: string | undefined;
- TypeScript?: string | undefined;
+ ESBuild?: string;
+ TypeScript?: string;
}
): Promise;
}
diff --git a/Source/Interface/Exec.ts b/Source/Interface/Exec.ts
index 707ecace..0f96c7e0 100644
--- a/Source/Interface/Exec.ts
+++ b/Source/Interface/Exec.ts
@@ -7,11 +7,11 @@ export default interface Type {
* The 'Exec' function is an asynchronous function that executes a command and logs the
* stdout of the child process.
*
- * @param {string} Command - The 'Command' parameter is a string that represents the
+ * @param Command - The 'Command' parameter is a string that represents the
* command you want to execute. It can be any valid command that can be executed in a
* terminal or command prompt.
*
- * @param {boolean|function} [Echo] - An optional parameter that controls whether the stdout
+ * @param Echo - An optional parameter that controls whether the stdout
* of the child process should be logged. If set to 'false', no logging will occur. If set
* to a function, the function will be called with the stdout data as a parameter for custom
* logging. If not provided, stdout will be logged to the console by default.
diff --git a/Source/Interface/File.ts b/Source/Interface/File.ts
index 9f260f31..607aee2a 100644
--- a/Source/Interface/File.ts
+++ b/Source/Interface/File.ts
@@ -12,7 +12,7 @@ export default interface Type {
*
* Finally, it imports and returns the default export of the processed JavaScript module.
*
- * @param {string} Path - The 'Path' parameter is a string that represents the file path of the file
+ * @param Path - The 'Path' parameter is a string that represents the file path of the file
* you want to process.
*
*/
diff --git a/Source/Interface/Mapping.ts b/Source/Interface/Mapping.ts
index c083bd8e..5b918466 100644
--- a/Source/Interface/Mapping.ts
+++ b/Source/Interface/Mapping.ts
@@ -1,10 +1,10 @@
/**
+ * @module Mapping
+ *
* Defines a mapping of a {@link Models.Kind} to a template file.
*
* Used by {@link DefaultTheme} to map reflections to output files.
*
- * @module Mapping
- *
*/
export default interface Type {
/**
diff --git a/Source/Interface/Merge.ts b/Source/Interface/Merge.ts
index e7e70587..5e66d23c 100644
--- a/Source/Interface/Merge.ts
+++ b/Source/Interface/Merge.ts
@@ -4,6 +4,7 @@
* Represents a generic interface for deep merging objects using merge functions defined in DeepMergeMergeFunctionsURIs.
*
* @template PMF - A type parameter representing Partial.
+ *
*/
export default interface Type<
PMF extends Partial,
diff --git a/Source/Interface/Theme.ts b/Source/Interface/Theme.ts
index f7503b2d..27a7277e 100644
--- a/Source/Interface/Theme.ts
+++ b/Source/Interface/Theme.ts
@@ -5,11 +5,11 @@
*/
export default interface Type {
/**
- * A function that builds URLs for a given DeclarationReflection and an array of URL mappings.
+ * A function that builds URLs for a given DeclarationReflection and an array of URLs mappings.
*
* @param Reflection - The DeclarationReflection for which URLs are being built.
*
- * @param URLs - An array of URL mappings with any data type.
+ * @param URLs - An array of URLs mappings with any data type.
*
*/
buildUrls: (
diff --git a/Source/Interface/Value.ts b/Source/Type/Value.ts
similarity index 70%
rename from Source/Interface/Value.ts
rename to Source/Type/Value.ts
index 9c7312cc..7c1f62c9 100644
--- a/Source/Interface/Value.ts
+++ b/Source/Type/Value.ts
@@ -1,3 +1,7 @@
+/**
+ * @module Value
+ *
+ */
export type Type = T[keyof T];
export type { Type as default };
diff --git a/Target/Class/Theme.d.ts b/Target/Class/Theme.d.ts
index f1fb4799..f60b23d3 100644
--- a/Target/Class/Theme.d.ts
+++ b/Target/Class/Theme.d.ts
@@ -10,5 +10,5 @@ export default class extends default_base implements Type {
}
import type Mapping from "../Interface/Mapping.js";
import type Type from "../Interface/Theme.js";
-export declare const DeclarationReflection: typeof import("typedoc").DeclarationReflection, DefaultTheme: typeof import("typedoc").DefaultTheme, ReflectionKind: typeof import("typedoc").ReflectionKind, UrlMapping: typeof import("typedoc").UrlMapping;
+export declare const DeclarationReflection: typeof import("typedoc").DeclarationReflection, URL_PREFIX: RegExp, getUrl: typeof import("typedoc").DefaultTheme.getUrl, applyAnchorUrl: typeof import("typedoc").DefaultTheme.applyAnchorUrl, Interface: import("typedoc").ReflectionKind, Class: import("typedoc").ReflectionKind, Enum: import("typedoc").ReflectionKind, Namespace: import("typedoc").ReflectionKind, Module: import("typedoc").ReflectionKind, TypeAlias: import("typedoc").ReflectionKind, _Function: import("typedoc").ReflectionKind, Variable: import("typedoc").ReflectionKind, UrlMapping: typeof import("typedoc").UrlMapping;
export {};
diff --git a/Target/Class/Theme.js b/Target/Class/Theme.js
index da5ea1b8..6240a3c3 100644
--- a/Target/Class/Theme.js
+++ b/Target/Class/Theme.js
@@ -1 +1 @@
-class l extends(await import("typedoc")).DefaultTheme{buildUrls(...[r,t]){const{Directory:p}=this._Mapping(r)??{};if(p){if(!(r.url&&a.URL_PREFIX.test(r.url))){const i=[p,`${a.getUrl(r)}.html`].join("/");t.push(new s(i,r,this.reflectionTemplate)),r.url=i,r.hasOwnDocument=!0}r.traverse(i=>(i instanceof n?this.buildUrls(i,t):a.applyAnchorUrl(i,r),!0))}else r.parent&&a.applyAnchorUrl(r,r.parent);return t}_Mapping=(...[r])=>this.Mapping.find(t=>r.kindOf(t.Kind));Mapping=[{Kind:[e.Class],Directory:"Class"},{Kind:[e.Interface],Directory:"Interface"},{Kind:[e.Enum],Directory:"Enum"},{Kind:[e.Namespace,e.Module],Directory:"Module"},{Kind:[e.TypeAlias],Directory:"Type"},{Kind:[e.Function],Directory:"Function"},{Kind:[e.Variable],Directory:"Variable"}]}const{DeclarationReflection:n,DefaultTheme:a,ReflectionKind:e,UrlMapping:s}=await import("typedoc");export{n as DeclarationReflection,a as DefaultTheme,e as ReflectionKind,s as UrlMapping,l as default};
+class g extends(await import("typedoc")).DefaultTheme{buildUrls(...[r,i]){const{Directory:t}=this._Mapping(r)??{};if(t){if(!(r.url&&p.test(r.url))){const e=[t,`${s(r)}.html`].join("/");i.push(new M(e,r,this.reflectionTemplate)),r.url=e,r.hasOwnDocument=!0}r.traverse(e=>(e instanceof n?this.buildUrls(e,i):a(e,r),!0))}else r.parent&&a(r,r.parent);return i}_Mapping=(...[r])=>this.Mapping.find(i=>r.kindOf(i.Kind));Mapping=[{Kind:[u],Directory:"Class"},{Kind:[o],Directory:"Interface"},{Kind:[l],Directory:"Enum"},{Kind:[m,d],Directory:"Module"},{Kind:[y],Directory:"Type"},{Kind:[c],Directory:"Function"},{Kind:[D],Directory:"Variable"}]}const{DeclarationReflection:n,DefaultTheme:{URL_PREFIX:p,getUrl:s,applyAnchorUrl:a},ReflectionKind:{Interface:o,Class:u,Enum:l,Namespace:m,Module:d,TypeAlias:y,Function:c,Variable:D},UrlMapping:M}=await import("typedoc");export{u as Class,n as DeclarationReflection,l as Enum,o as Interface,d as Module,m as Namespace,y as TypeAlias,p as URL_PREFIX,M as UrlMapping,D as Variable,c as _Function,a as applyAnchorUrl,g as default,s as getUrl};
diff --git a/Target/Class/TypeScriptESBuild.js b/Target/Class/TypeScriptESBuild.js
index ad3d23a7..b6cdf5f3 100644
--- a/Target/Class/TypeScriptESBuild.js
+++ b/Target/Class/TypeScriptESBuild.js
@@ -1,2 +1,2 @@
#!/usr/bin/env node
-var i=new(await import("commander")).Command().name("TypeScriptESBuild").version("0.2.17").description("Builds files").argument("","Files to build").option("-es, --ESBuild ","esbuild configuration file").option("-ts, --TypeScript ","TypeScript configuration file").action((await import("../Function/Build.js")).default).parse();export{i as default};
+var i=new(await import("commander")).Command().name("TypeScriptESBuild").version("0.2.18").description("Builds files").argument("","Files to build").option("-es, --ESBuild ","esbuild configuration file").option("-ts, --TypeScript ","TypeScript configuration file").action((await import("../Function/Build.js")).default).parse();export{i as default};
diff --git a/Target/Interface/Build.d.ts b/Target/Interface/Build.d.ts
index ed27edf6..d43567b0 100644
--- a/Target/Interface/Build.d.ts
+++ b/Target/Interface/Build.d.ts
@@ -16,8 +16,8 @@ export default interface Type {
*
*/
(File: Pattern[], Option?: {
- ESBuild?: string | undefined;
- TypeScript?: string | undefined;
+ ESBuild?: string;
+ TypeScript?: string;
}): Promise;
}
import type { Pattern } from "fast-glob";
diff --git a/Target/Interface/Exec.d.ts b/Target/Interface/Exec.d.ts
index b424bbc7..86972ab1 100644
--- a/Target/Interface/Exec.d.ts
+++ b/Target/Interface/Exec.d.ts
@@ -7,11 +7,11 @@ export default interface Type {
* The 'Exec' function is an asynchronous function that executes a command and logs the
* stdout of the child process.
*
- * @param {string} Command - The 'Command' parameter is a string that represents the
+ * @param Command - The 'Command' parameter is a string that represents the
* command you want to execute. It can be any valid command that can be executed in a
* terminal or command prompt.
*
- * @param {boolean|function} [Echo] - An optional parameter that controls whether the stdout
+ * @param Echo - An optional parameter that controls whether the stdout
* of the child process should be logged. If set to 'false', no logging will occur. If set
* to a function, the function will be called with the stdout data as a parameter for custom
* logging. If not provided, stdout will be logged to the console by default.
diff --git a/Target/Interface/File.d.ts b/Target/Interface/File.d.ts
index 2b3d07ac..e99789c1 100644
--- a/Target/Interface/File.d.ts
+++ b/Target/Interface/File.d.ts
@@ -12,7 +12,7 @@ export default interface Type {
*
* Finally, it imports and returns the default export of the processed JavaScript module.
*
- * @param {string} Path - The 'Path' parameter is a string that represents the file path of the file
+ * @param Path - The 'Path' parameter is a string that represents the file path of the file
* you want to process.
*
*/
diff --git a/Target/Interface/Mapping.d.ts b/Target/Interface/Mapping.d.ts
index 721b4481..2af36889 100644
--- a/Target/Interface/Mapping.d.ts
+++ b/Target/Interface/Mapping.d.ts
@@ -1,10 +1,10 @@
/**
+ * @module Mapping
+ *
* Defines a mapping of a {@link Models.Kind} to a template file.
*
* Used by {@link DefaultTheme} to map reflections to output files.
*
- * @module Mapping
- *
*/
export default interface Type {
/**
diff --git a/Target/Interface/Merge.d.ts b/Target/Interface/Merge.d.ts
index 357e0725..8d125c47 100644
--- a/Target/Interface/Merge.d.ts
+++ b/Target/Interface/Merge.d.ts
@@ -4,6 +4,7 @@
* Represents a generic interface for deep merging objects using merge functions defined in DeepMergeMergeFunctionsURIs.
*
* @template PMF - A type parameter representing Partial.
+ *
*/
export default interface Type> {
/**
diff --git a/Target/Interface/Theme.d.ts b/Target/Interface/Theme.d.ts
index bfeb989c..a43f3406 100644
--- a/Target/Interface/Theme.d.ts
+++ b/Target/Interface/Theme.d.ts
@@ -5,11 +5,11 @@
*/
export default interface Type {
/**
- * A function that builds URLs for a given DeclarationReflection and an array of URL mappings.
+ * A function that builds URLs for a given DeclarationReflection and an array of URLs mappings.
*
* @param Reflection - The DeclarationReflection for which URLs are being built.
*
- * @param URLs - An array of URL mappings with any data type.
+ * @param URLs - An array of URLs mappings with any data type.
*
*/
buildUrls: (Reflection: DeclarationReflection, URLs: UrlMapping[]) => UrlMapping[];
diff --git a/Target/Interface/Value.d.ts b/Target/Type/Value.d.ts
similarity index 70%
rename from Target/Interface/Value.d.ts
rename to Target/Type/Value.d.ts
index 4b89a335..5fe64a33 100644
--- a/Target/Interface/Value.d.ts
+++ b/Target/Type/Value.d.ts
@@ -1,2 +1,6 @@
+/**
+ * @module Value
+ *
+ */
export type Type = T[keyof T];
export type { Type as default };
diff --git a/Target/Interface/Value.js b/Target/Type/Value.js
similarity index 100%
rename from Target/Interface/Value.js
rename to Target/Type/Value.js
diff --git a/package.json b/package.json
index 74d55e78..2fdafc71 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "typescript-esbuild",
- "version": "0.2.17",
+ "version": "0.2.18",
"private": false,
"description": "🌀 Builds all your TypeScript files into JavaScript and generates documentation for it using TypeDoc.",
"keywords": [
@@ -36,7 +36,7 @@
"@types/node": "20.8.6",
"commander": "11.1.0",
"deepmerge-ts": "5.1.0",
- "esbuild": "0.19.4",
+ "esbuild": "0.19.5",
"esbuild-plugin-copy": "2.1.1",
"fast-glob": "3.3.1",
"typedoc": "0.25.2",
An array of Mappings representing the theme's mapping configuration.