sapphire-support
Root Question Message
export default undefined
because otherwise typescript sees it as a module declaration instead of a module augmentation. // this is a comment ↓
// this is a variable `a` which stores the number 1
let a: number = 1;
// this is a comment ↓
// this is a variable `a` which stores the number 1
let a: number = 1;
// by writing comments around the code we can hopefully still understand the code 6 months from now
// please copy and paste these 2 lines below every variable, function, and class
import { type EnvArray, envParseArray } from '@skyra/env-utilities';
const test = envParseArray('ARRAY_TEST');
declare module '@skyra/env-utilities' {
interface Env {
ARRAY_TEST: EnvArray;
}
}
ARRAY_TEST='1 2 3 4 5 6 7 8 9 10'
ArrayString
you need, not EnvArray