Skip to content

Commit 06e6a04

Browse files
chase-tamnoonJamieMason
authored andcommitted
fix(types): allow additional customTypes properties
Closes #255
1 parent 8ddc298 commit 06e6a04

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"Aparajita Fishman (https://github.com/aparajita)",
2727
"Artur Wierzbicki (https://github.com/ArturWierzbicki)",
2828
"Chase Holdren (https://github.com/chaseholdren)",
29+
"Chase Tamnoon (https://github.com/chase-tamnoon)",
2930
"Daniel Silva (https://github.com/dsilvasc)",
3031
"Elchin Valiyev (https://github.com/evaliyev)",
3132
"Gabriel Pereira Woitechen (https://github.com/wtchnm)",

src/config/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ export interface RcConfig {
158158
/** @see https://jamiemason.github.io/syncpack/integrations/json-schema */
159159
$schema?: string;
160160
/** @see https://jamiemason.github.io/syncpack/config/custom-types */
161-
customTypes: Record<string, CustomTypeConfig.Any>;
161+
customTypes: {
162+
[name: string]: CustomTypeConfig.Any;
163+
};
162164
/** @see https://jamiemason.github.io/syncpack/config/dependency-types */
163165
dependencyTypes: DependencyType[];
164166
/** @see https://jamiemason.github.io/syncpack/config/filter */

0 commit comments

Comments
 (0)