Skip to content

Commit

Permalink
fix: remove name conflict in Ix definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Smart committed Dec 27, 2022
1 parent b22f485 commit 3657960
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
"outDir": "dist",
"skipLibCheck": true,
"moduleResolution": "NodeNext",
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"lib": ["ESNext"],
"sourceMap": true,
"strict": true,
"strictNullChecks": true,
"target": "ES2022",
"incremental": true,
"tsBuildInfoFile": "./tsconfig.tsbuildinfo"
Expand Down
6 changes: 3 additions & 3 deletions src/Interactions/definitions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Discord, Effect, Option } from "dfx/_common"
import { Discord, Effect, Option as Maybe } from "dfx/_common"
import {
FocusedOptionContext,
ResolvedDataNotFound,
Expand Down Expand Up @@ -158,7 +158,7 @@ export interface CommandHelper<A> {
) => Effect.Effect<
Discord.ApplicationCommandDatum,
never,
Option.Option<Discord.ApplicationCommandInteractionDataOption>
Maybe.Option<Discord.ApplicationCommandInteractionDataOption>
>

optionValue: <N extends AllRequiredCommandOptions<A>["name"]>(
Expand All @@ -170,7 +170,7 @@ export interface CommandHelper<A> {
) => Effect.Effect<
Discord.ApplicationCommandDatum,
never,
Option.Option<CommandValue<A, N>>
Maybe.Option<CommandValue<A, N>>
>

subCommands: <
Expand Down

0 comments on commit 3657960

Please sign in to comment.