Skip to content

Commit

Permalink
fix: use type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Mar 30, 2023
1 parent 84e828b commit 981774f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ export type GetStaticPaths = (
*
* @example
* ```ts
* import { GetStaticPaths } from 'astro';
* import type { GetStaticPaths } from 'astro';
*
* export const getStaticPaths = (() => {
* return results.map((entry) => ({
Expand All @@ -1224,7 +1224,7 @@ export type InferGetStaticParamsType<T> = T extends () => infer R | Promise<infe
*
* @example
* ```ts
* import { GetStaticPaths } from 'astro';
* import type { GetStaticPaths } from 'astro';
*
* export const getStaticPaths = (() => {
* return results.map((entry) => ({
Expand Down

0 comments on commit 981774f

Please sign in to comment.