summaryrefslogtreecommitdiff
path: root/tools/language-server/astro.d.ts
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-08-26 13:14:47 -0400
committerGravatar GitHub <noreply@github.com> 2021-08-26 13:14:47 -0400
commitc4cfc0d5fb26e39be7c10ba1ecdc32656870b10d (patch)
treee8dde32fb8ef88f6b9bd6276e5ca9194fb487ba9 /tools/language-server/astro.d.ts
parentc83d4817336f73348dbcedf493f2e5d2402e9e49 (diff)
downloadastro-c4cfc0d5fb26e39be7c10ba1ecdc32656870b10d.tar.gz
astro-c4cfc0d5fb26e39be7c10ba1ecdc32656870b10d.tar.zst
astro-c4cfc0d5fb26e39be7c10ba1ecdc32656870b10d.zip
Remove VSCode and Langauge Server from this monorepo (#1230)
* Remove VSCode and Langauge Server from this monorepo * Adds back in the syntax files
Diffstat (limited to 'tools/language-server/astro.d.ts')
-rw-r--r--tools/language-server/astro.d.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/language-server/astro.d.ts b/tools/language-server/astro.d.ts
deleted file mode 100644
index 3c35bf911..000000000
--- a/tools/language-server/astro.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-type AstroRenderedHTML = string;
-
-type FetchContentResult<ContentFrontmatter extends Record<string, any> = Record<string, any>> = {
- astro: {
- headers: string[];
- source: string;
- html: AstroRenderedHTML;
- };
- url: URL;
-} & ContentFrontmatter;
-
-interface AstroPageRequest {
- url: URL;
- canonicalURL: URL;
-}
-
-interface Astro {
- isPage: boolean;
- fetchContent<ContentFrontmatter>(globStr: string): FetchContentResult<ContentFrontmatter>[];
- props: Record<string, number | string | any>;
- request: AstroPageRequest;
- site: URL;
-}
-
-declare const Astro: Astro;
-
-export default function (): string;