Options
All
  • Public
  • Public/Protected
  • All
Menu

@dhealth/contracts

Index

Type Aliases

ObjectLiteral: Record<string, any> | {}
description

This type defines a named export that can be used to map any object that represents its content as an object and contains a set of fields with values.

This type is an utility-type that is never required, you can always use the underlying Record<string, any> type instead, or build the object explicitely (any).

example

Using the ObjectLiteral type

// creating a custom object
const the_object = {
coolness: "pow(10, 6)",
usefulness: "pow(10, 6)",
complexity: "pow(10, 0)",
} as ObjectLiteral;



since

v0.3.0

Generated using TypeDoc