Skip to content

Commit

Permalink
chore: update types for *.html
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Jul 21, 2022
1 parent 3a79d34 commit 073913b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/astro/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/// <reference types="vite/types/importMeta" />

// HTML
declare module "*.html" {
const Component: { render(opts: { slots: Record<string, string> }): string };
export default content;
}

// CSS modules
type CSSModuleClasses = { readonly [key: string]: string };

Expand Down

0 comments on commit 073913b

Please sign in to comment.