Documentation
    Preparing search index...

    Function indexed

    • Implements '@indexed' decorator factory This is used to specify complex service types which are need to expose types containing indexed definition, for example:

      Parameters

      • indexTypedef: string | Thunk

      Returns any

      ~~~typescript
      import { type } from '@imqueue/rpc';

      @indexed('[fieldName: string]: any')
      class Schema {
      [fieldName: string]: any
      }
      ~~~