Skip to content

Commit b9c6efb

Browse files
Use .d.ts in import when importing a .d.ts file (#17288)
1 parent 1e0bdac commit b9c6efb

File tree

2 files changed

+2
-2
lines changed
  • packages

2 files changed

+2
-2
lines changed

packages/babel-helper-compilation-targets/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type {
2020
Browsers,
2121
BrowserslistBrowserName,
2222
TargetsTuple,
23-
} from "./types.ts";
23+
} from "./types.d.ts";
2424

2525
export type { Target, Targets, InputTargets };
2626

packages/babel-preset-env/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import type { Targets, InputTargets } from "@babel/helper-compilation-targets";
3535
import availablePlugins from "./available-plugins.ts";
3636
import { declarePreset } from "@babel/helper-plugin-utils";
3737

38-
import type { BuiltInsOption, ModuleOption, Options } from "./types.ts";
38+
import type { BuiltInsOption, ModuleOption, Options } from "./types.d.ts";
3939
export type { Options };
4040

4141
// TODO: Remove in Babel 8

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy