# Type alias: CreateNodesV2\ Ƭ **CreateNodesV2**\<`T`\>: readonly [projectFilePattern: string, createNodesFunction: CreateNodesFunctionV2\] A pair of file patterns and [CreateNodesFunctionV2](../../devkit/documents/CreateNodesFunctionV2) In Nx 21 [CreateNodes](../../devkit/documents/CreateNodes) will be replaced with this type. In Nx 22, this type will be removed. #### Type parameters | Name | Type | | :--- | :-------- | | `T` | `unknown` |