### Environment - Node.js ver.: any - TypeScript ver.: any ### Reproduction This is a type definition bug ### Describe the bug The `workspaces` field type is defined as `string[]` but should be `string[] | { packages?: string[] }`. ### Additional context - The [existing comment](https://github.com/unjs/pkg-types/blob/main/src/packagejson/types.ts#L190) already says "array of glob patterns or an object" - [package.json's schema](https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/package.json#L998-L1028) defines it as a union type ### Logs ```sh - ```
Environment
Reproduction
This is a type definition bug
Describe the bug
The
workspacesfield type is defined asstring[]but should bestring[] | { packages?: string[] }.Additional context
Logs