Skip to content

Commit 7b8b551

Browse files
committed
fix: deprecate createCmd function
1 parent f0541b8 commit 7b8b551

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/createCmd.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ interface Command<TMessage> {
8585
/**
8686
* Creates a typed instance of the Command class.
8787
* @template TMessage The type of the Msg discriminated union.
88+
* @deprecated Import the `cmd` object and use this instead.
8889
*/
8990
function createCmd<TMessage extends Message> (): Command<TMessage> {
9091
return {

0 commit comments

Comments
 (0)