We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
createCmd
1 parent f0541b8 commit 7b8b551Copy full SHA for 7b8b551
src/createCmd.ts
@@ -85,6 +85,7 @@ interface Command<TMessage> {
85
/**
86
* Creates a typed instance of the Command class.
87
* @template TMessage The type of the Msg discriminated union.
88
+ * @deprecated Import the `cmd` object and use this instead.
89
*/
90
function createCmd<TMessage extends Message> (): Command<TMessage> {
91
return {
0 commit comments