Skip to content

Commit

Permalink
fix(utils): types on plugin utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jogelin committed Dec 19, 2024
1 parent 09248be commit efd610c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/plugin/src/utils/combine-create-nodes.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import { combineGlobPatterns } from 'nx/src/utils/globs';
import { readConfigCache, writeConfigToCache } from './cache-config.utils';
import { CreateNodesInternal } from './create-nodes-internal-builder.utils';

export function combineCreateNodes<T extends Record<string, unknown>>(pluginName: string, createNodesInternals: CreateNodesInternal<T>[]): CreateNodesV2<T> {
export function combineCreateNodes<T extends Record<string, string | number | boolean>>(
pluginName: string,
createNodesInternals: CreateNodesInternal<T>[]
): CreateNodesV2<T> {
const projectFilePatterns = createNodesInternals.map(([globPattern]) => globPattern);

return [
Expand Down

0 comments on commit efd610c

Please sign in to comment.