Skip to content

Internal typescript error when using virtual elements #157

Description

@tscpp

This works as expected:

<!-- ok with: default from "./diagnostics" -->
  <!-- ko if: true -->
    hello
  <!-- /ko -->
<!-- /ok -->

But when the virtual element is placed outside the "ok with" directive, it adds an diagnostic.

<!-- ok with: default from "./diagnostics" -->
<!-- /ok -->
 
<!-- ko if: true -->
  hello
<!-- /ko -->
';' expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions