Thanks to visit codestin.com
Credit goes to github.com

Skip to content

type-safety #1

@mindplay-dk

Description

@mindplay-dk

Thanks for sharing this!

I loaded up the examples in VS Code to see how it works at design-time, and first thing I noticed about the examples is, they're not very type-safe?

For example, model: any in tree.ts provides no type-safety, not even when using Vue's built-in value decorators, such as this.model.$add(...).

Have you gotten any further with this pattern, on your own projects, since posting this six months ago?

If so, would you consider maybe updating one of the example with full tape-safety?

Thanks again, this is a great starting point!

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