Skip to content

Not compatible with Astro check #38

Description

@lloydjatkinson

Before I switch to TNB, I get the following output:

15:07:52 [check] Getting diagnostics for Astro files in E:\Source\lloydatkinson.net...
Result (429 files): 
- 0 errors
- 0 warnings
- 0 hints

After I switched to TNB I get the following errors, for each usage of Astro and Fragment.

src/ui/components/visualisation/Example.astro:98:6 - error ts(2304): Cannot find name 'Fragment'.

98     <Fragment set:html={memoryChart.outerHTML} />
        ~~~~~~~~
src/ui/components/visualisation/Example.astro:93:6 - error ts(2304): Cannot find name 'Fragment'.

93     <Fragment set:html={performanceChart.outerHTML} />
        ~~~~~~~~

src/ui/components/webmentions/WebMentions.astro:7:34 - error ts(2708): Cannot use namespace 'Astro' as a value.

7 const targetUrl = new URL(url || Astro.url.pathname, baseUrl);
                                   ~~~~~
src/ui/components/webmentions/WebMentions.astro:6:17 - error ts(2708): Cannot use namespace 'Astro' as a value.

6 const baseUrl = Astro.site;

Result (429 files): 
- 14 errors
- 0 warnings
- 0 hints

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