We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider a view:
<template> <input value.bind="data.property1" /> <input value.bind="data.property2" /> <input value.bind="data.property3" /> </template>
and a view model:
type Alias = { property1: string; property2: string; }; export class ViewModel { data: Alias = { property1: 'test', property2: '' }; }
aurelia-template-lint currently ignores the non existing property3.
If the type alias in the view model is changed to an interface, a warning is correctly thrown:
interface Alias { property1: string; property2: string; } export class ViewModel { data: Alias = { property1: 'test', property2: '' }; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider a view:
and a view model:
aurelia-template-lint currently ignores the non existing property3.
If the type alias in the view model is changed to an interface, a warning is correctly thrown:
The text was updated successfully, but these errors were encountered: