diff options
author | 2022-05-10 14:54:01 -0600 | |
---|---|---|
committer | 2022-05-10 14:54:01 -0600 | |
commit | d04928e8f20435cf69d1c171523aa152601cfe21 (patch) | |
tree | 1ce75fd7f536d93964df82070624170edeef1c3e | |
parent | 1acbcaba9e05ef376ba8f2e550a0ab5bbad35efe (diff) | |
download | astro-d04928e8f20435cf69d1c171523aa152601cfe21.tar.gz astro-d04928e8f20435cf69d1c171523aa152601cfe21.tar.zst astro-d04928e8f20435cf69d1c171523aa152601cfe21.zip |
rename dts to ts file (#3332)
* rename dts to ts file
* Create new-carrots-cough.md
* add back missing types
-rw-r--r-- | .changeset/new-carrots-cough.md | 5 | ||||
-rw-r--r-- | packages/astro/src/core/build/types.ts (renamed from packages/astro/src/core/build/types.d.ts) | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/.changeset/new-carrots-cough.md b/.changeset/new-carrots-cough.md new file mode 100644 index 000000000..3855009e9 --- /dev/null +++ b/.changeset/new-carrots-cough.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Fix an `import from '../core/build/types';` error diff --git a/packages/astro/src/core/build/types.d.ts b/packages/astro/src/core/build/types.ts index 30ea53901..0d89c6c30 100644 --- a/packages/astro/src/core/build/types.d.ts +++ b/packages/astro/src/core/build/types.ts @@ -7,9 +7,9 @@ import type { ComponentInstance, SSRLoadedRenderer, } from '../../@types/astro'; -import type { ViteConfigWithSSR } from '../../create-vite'; -import type { LogOptions } from '../../logger'; -import type { RouteCache } from '../../render/route-cache.js'; +import type { LogOptions } from '../logger/core'; +import type { RouteCache } from '../render/route-cache'; +import type { ViteConfigWithSSR } from '../create-vite'; export type ComponentPath = string; export type ViteID = string; |