Skip to content

Possible deprecated documentation #231

@JasonYCao

Description

@JasonYCao

Describe the bug

The demo for the TODO App

Seems to be misconfigured for the schema.

It shows:

const TYPES = ['Home', 'Work', 'Archived'];
type: {type: 'string', default: 'Home', allow: TYPES},

But as far as typescript and config goes, this is not allowed. Is this a possible upcoming feature or a deprecated one?

Additional context

Using Tinybase v6.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions