als-unhooked
    Preparing search index...

    Function createNamespace

    • Creates a new namespace.

      Type Parameters

      Parameters

      • name: string

        The name of the namespace.

      Returns Namespace<keyof T, T[keyof T]>

      The created namespace.

      const ns = createNamespace('myNamespace');
      
    • Creates a new namespace.

      Type Parameters

      • K = any
      • V = any

      Parameters

      • name: string

        The name of the namespace.

      Returns Namespace<K, V>

      The created namespace.

      const ns = createNamespace('myNamespace');