Skip to content

Support implicitly typed properties #180

@InfiniteLukeOne

Description

@InfiniteLukeOne

Consider a view:

<template>
    <input value.bind="data.property1" />
    <input value.bind="data.property2" />
    <input value.bind="data.property3" />
</template>

and a view model:

export class ViewModel {
    data = {
        property1: 'test',
        property2: ''
    };
}

aurelia-template-lint should output a warning that property3 does not exist on implicit type {property1:string, property2: string}.

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