Skip to content

golar tsc report TS1000000 error in a VitePress Markdown file #24

@HowieHz

Description

@HowieHz
<input
  pattern="[0-9]*"
>

[compat-finder](https://www.npmjs.com/package/compat-finder)

Tool versions

  • golar 0.1.7
  • @golar/vue 0.1.7
  • vue-tsc 3.2.7

System Info

System:
  OS: Windows 11

Steps to reproduce

  1. Open this reproduction project. https://github.com/HowieHz/vue-tsc-error/tree/main/vitepress-golar-missing-global-in-markdown
  2. Run pnpm install --ignore-workspace.
  3. Run pnpm run typecheck:golar.
  4. Run pnpm run typecheck:vue-tsc.
  5. Inspect docs/index.md.

What is expected?
golar tsc and vue-tsc should both agree on how docs/index.md is parsed.

What is actually happening?
vue-tsc passes without errors.

golar tsc reports:

Using config from ./golar.config.ts...
docs/index.md:1:1 - error TS1000000: Element is missing end tag.

1 <input
  ~

docs/index.md:6:1 - error TS1000000: Unexpected EOF in tag.

6 
  ~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions