Skip to content

Internal typescript error when using virtual elements #157

@tscpp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions