Error when loading 'C:\Users\User\Desktop\Bots and stuff\Gir-Unit V2\src\preconditions\ServerOwner.ts': src/lib/structures/commands/GirCommand.ts:95:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(keyOrEntries: SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray): PreconditionContainerArray', gave the following error.
Argument of type '"Trainee"' is not assignable to parameter of type 'SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray'.
Overload 2 of 2, '(entry: PreconditionSingleResolvableDetails<keyof Preconditions>): PreconditionContainerArray', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'PreconditionSingleResolvableDetails<keyof Preconditions>'.
95 container.append('Trainee');
~~~~~~~~~
src/lib/structures/commands/GirCommand.ts:98:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(keyOrEntries: SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray): PreconditionContainerArray', gave the following error.
Argument of type '"Staff"' is not assignable to parameter of type 'SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray'.
Overload 2 of 2, '(entry: PreconditionSingleResolvableDetails<keyof Preconditions>): PreconditionContainerArray', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'PreconditionSingleResolvableDetails<keyof Preconditions>'.
98 container.append('Staff');
Error when loading 'C:\Users\User\Desktop\Bots and stuff\Gir-Unit V2\src\preconditions\Staff.ts': src/lib/structures/commands/GirCommand.ts:95:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(keyOrEntries: SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray): PreconditionContainerArray', gave the following error.
Argument of type '"Trainee"' is not assignable to parameter of type 'SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray'.
Overload 2 of 2, '(entry: PreconditionSingleResolvableDetails<keyof Preconditions>): PreconditionContainerArray', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'PreconditionSingleResolvableDetails<keyof Preconditions>'.
95 container.append('Trainee');
Error when loading 'C:\Users\User\Desktop\Bots and stuff\Gir-Unit V2\src\preconditions\ServerOwner.ts': src/lib/structures/commands/GirCommand.ts:95:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(keyOrEntries: SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray): PreconditionContainerArray', gave the following error.
Argument of type '"Trainee"' is not assignable to parameter of type 'SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray'.
Overload 2 of 2, '(entry: PreconditionSingleResolvableDetails<keyof Preconditions>): PreconditionContainerArray', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'PreconditionSingleResolvableDetails<keyof Preconditions>'.
95 container.append('Trainee');
~~~~~~~~~
src/lib/structures/commands/GirCommand.ts:98:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(keyOrEntries: SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray): PreconditionContainerArray', gave the following error.
Argument of type '"Staff"' is not assignable to parameter of type 'SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray'.
Overload 2 of 2, '(entry: PreconditionSingleResolvableDetails<keyof Preconditions>): PreconditionContainerArray', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'PreconditionSingleResolvableDetails<keyof Preconditions>'.
98 container.append('Staff');
Error when loading 'C:\Users\User\Desktop\Bots and stuff\Gir-Unit V2\src\preconditions\Staff.ts': src/lib/structures/commands/GirCommand.ts:95:26 - error TS2769: No overload matches this call.
Overload 1 of 2, '(keyOrEntries: SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray): PreconditionContainerArray', gave the following error.
Argument of type '"Trainee"' is not assignable to parameter of type 'SimplePreconditionKeys | SimplePreconditionSingleResolvableDetails | PreconditionContainerArray'.
Overload 2 of 2, '(entry: PreconditionSingleResolvableDetails<keyof Preconditions>): PreconditionContainerArray', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'PreconditionSingleResolvableDetails<keyof Preconditions>'.
95 container.append('Trainee');