Hyperlinkv0.8.0-beta.28

SchemaRepresentation

SchemaRepresentation.$PropertySignatureconsteffect/SchemaRepresentation.ts:1321
Schema.Struct<{
  readonly annotations: Schema.optional<
    Schema.decodeTo<
      Schema.$Record<Schema.String, Schema.Unknown>,
      Schema.$Record<
        Schema.String,
        Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>
      >,
      never,
      never
    >
  >
  readonly name: Schema.Union<
    readonly [Schema.Finite, Schema.Symbol, Schema.String]
  >
  readonly type: Schema.suspend<$Representation>
  readonly isOptional: Schema.Boolean
  readonly isMutable: Schema.Boolean
}>

Schema for the PropertySignature type.

export const $PropertySignature = Schema.Struct({
  annotations: Schema.optional($Annotations),
  name: Schema.PropertyKey,
  type: Representation$ref,
  isOptional: Schema.Boolean,
  isMutable: Schema.Boolean
}).annotate({ identifier: "PropertySignature" })
Referenced by 1 symbols