Skip to content

Commit

Permalink
fix: handleSubCommands types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Smart committed Dec 6, 2022
1 parent 4cc8bef commit 4283e34
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Interactions/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { InteractionResponse } from "./definitions.js"
import { InteractionNotFound } from "./handlers.js"
import * as Arr from "@fp-ts/data/ReadonlyArray"
import { optionsMap } from "dfx/Helpers/interactions"
import { EffectTypeId, Effect } from "@effect/io/Effect"

export const InteractionContext = Tag<Discord.Interaction>()
export const ApplicationCommandContext = Tag<Discord.ApplicationCommandDatum>()
Expand Down
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { Effect, EffectTypeId } from "@effect/io/Effect"
export type { Effect } from "@effect/io/Effect"
export type { Layer } from "@effect/io/Layer"
export type { Schedule } from "@effect/io/Schedule"
export type { Cause } from "@effect/io/Cause"
Expand Down
1 change: 0 additions & 1 deletion src/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/
import type {
Effect,
EffectTypeId,
Layer,
Either,
Maybe,
Expand Down

0 comments on commit 4283e34

Please sign in to comment.