als-unhooked
    Preparing search index...

    Variable legacy

    legacy: {
        getNamespace: {
            <T extends Record<PropertyKey, any>>(
                name: string,
            ): Namespace<keyof T, T[keyof T]>;
            <K = any, V = any>(name: string): Namespace<K, V>;
        };
        createNamespace: {
            <T extends Record<PropertyKey, any>>(
                name: string,
            ): Namespace<keyof T, T[keyof T]>;
            <K = any, V = any>(name: string): Namespace<K, V>;
        };
        getOrCreateNamespace: {
            <T extends Record<PropertyKey, any>>(
                name: string,
            ): Namespace<keyof T, T[keyof T]>;
            <K = any, V = any>(name: string): Namespace<K, V>;
        };
        destroyNamespace: (namespace: string | Namespace<any, any>) => void;
        reset: () => void;
        Namespace: typeof Namespace;
        ERROR_SYMBOL: symbol;
        CONTEXTS_SYMBOL: symbol;
        NAMESPACES_SYMBOL: symbol;
    }

    Type declaration

    • getNamespace: {
          <T extends Record<PropertyKey, any>>(
              name: string,
          ): Namespace<keyof T, T[keyof T]>;
          <K = any, V = any>(name: string): Namespace<K, V>;
      }
    • createNamespace: {
          <T extends Record<PropertyKey, any>>(
              name: string,
          ): Namespace<keyof T, T[keyof T]>;
          <K = any, V = any>(name: string): Namespace<K, V>;
      }
    • getOrCreateNamespace: {
          <T extends Record<PropertyKey, any>>(
              name: string,
          ): Namespace<keyof T, T[keyof T]>;
          <K = any, V = any>(name: string): Namespace<K, V>;
      }
    • destroyNamespace: (namespace: string | Namespace<any, any>) => void
    • reset: () => void
    • Namespace: typeof Namespace
    • ERROR_SYMBOL: symbol
    • CONTEXTS_SYMBOL: symbol
    • NAMESPACES_SYMBOL: symbol