Function createConfig

  • create a frozen ScriptConfig, also this is a TypeScript helper to create an autocomplete-friendly ScriptConfigs

    Type Parameters

    • S extends ScriptRecord

    Parameters

    • configShape: {
          PREFIX: string;
          SCRIPTS: S;
      }
      • PREFIX: string
      • SCRIPTS: S

    Returns typeof configShape

Generated using TypeDoc