Skip to content

Support referencing TS type definitions for type: 'json' fields #26

@schickling

Description

@schickling

In some cases where you're using type: 'json' you'd like to reference some existing TS type definitions instead of the any type that's currently used for json fields. This applies to both regular fields and computedFields.

Example:

image

Rough API idea:

{
  // ...  
  typescriptType: { name: 'IReadTimeResults', from: 'reading-time' }
}

Notes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions