Skip to content

Commit a1907e3

Browse files
authoredNov 16, 2023
refactor: support latest /pieces type utilities (#687)
feat: add `Piece.LoaderContext` for all structures
1 parent 633d325 commit a1907e3

File tree

62 files changed

+147
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+147
-145
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@sapphire/discord-utilities": "^3.1.1",
3333
"@sapphire/discord.js-utilities": "^7.0.2",
3434
"@sapphire/lexure": "^1.1.5",
35-
"@sapphire/pieces": "^3.9.0",
35+
"@sapphire/pieces": "^3.10.0",
3636
"@sapphire/ratelimits": "^2.4.7",
3737
"@sapphire/result": "^2.6.4",
3838
"@sapphire/stopwatch": "^1.5.0",

‎src/arguments/CoreBoolean.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { container, type PieceContext } from '@sapphire/pieces';
1+
import { container } from '@sapphire/pieces';
22
import { resolveBoolean } from '../lib/resolvers/boolean';
33
import { Argument } from '../lib/structures/Argument';
44
import type { BooleanArgumentContext } from '../lib/types/ArgumentContexts';
55

66
export class CoreArgument extends Argument<boolean> {
7-
public constructor(context: PieceContext) {
7+
public constructor(context: Argument.LoaderContext) {
88
super(context, { name: 'boolean' });
99
}
1010

0 commit comments

Comments
 (0)
Please sign in to comment.