Skip to content

Commit 2a116ba

Browse files
committed
Fixes incorrect targets type def
1 parent 0469ccc commit 2a116ba

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/poor-pigs-applaud.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@codeshift/types': patch
3+
---
4+
5+
Renames target to targets (inline with the spec)

packages/types/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export interface CodeshiftConfig {
2-
target?: string[];
2+
targets?: string[];
33
maintainers?: string[];
44
description?: string;
55
transforms?: Record<string, string>;

0 commit comments

Comments
 (0)