@types/babel__helper-module-imports
Advanced tools
Comparing version 7.18.0 to 7.18.1
@@ -6,4 +6,4 @@ // Type definitions for @babel/helper-module-imports 7.18 | ||
import type { types as t } from '@babel/core'; | ||
import type { NodePath } from '@babel/traverse'; | ||
import type { types as t } from "@babel/core"; | ||
import type { NodePath } from "@babel/traverse"; | ||
@@ -21,3 +21,3 @@ export interface ImportOptions { | ||
*/ | ||
importedType: 'es6' | 'commonjs'; | ||
importedType: "es6" | "commonjs"; | ||
/** | ||
@@ -64,3 +64,3 @@ * The type of interop behavior for namespace/default/named when loading | ||
*/ | ||
importedInterop: 'babel' | 'node' | 'compiled' | 'uncompiled'; | ||
importedInterop: "babel" | "node" | "compiled" | "uncompiled"; | ||
/** | ||
@@ -75,3 +75,3 @@ * The type of CommonJS interop included in the environment that will be | ||
*/ | ||
importingInterop: 'babel' | 'node'; | ||
importingInterop: "babel" | "node"; | ||
/** | ||
@@ -98,3 +98,3 @@ * Define whether we explicitly care that the import be a live reference. | ||
*/ | ||
importPosition: 'before' | 'after'; | ||
importPosition: "before" | "after"; | ||
@@ -121,3 +121,3 @@ nameHint?: string; | ||
importedSource: string, | ||
opts?: Omit<Partial<ImportOptions>, 'ensureLiveReference' | 'ensureNoContext'>, | ||
opts?: Omit<Partial<ImportOptions>, "ensureLiveReference" | "ensureNoContext">, | ||
): t.Identifier; | ||
@@ -128,3 +128,3 @@ export function addNamed( | ||
importedSource: string, | ||
opts?: Omit<Partial<ImportOptions>, 'ensureLiveReference'> & { | ||
opts?: Omit<Partial<ImportOptions>, "ensureLiveReference"> & { | ||
ensureLiveReference: true; | ||
@@ -137,3 +137,3 @@ }, | ||
importedSource: string, | ||
opts?: Omit<Partial<ImportOptions>, 'ensureNoContext'> & { | ||
opts?: Omit<Partial<ImportOptions>, "ensureNoContext"> & { | ||
ensureNoContext: true; | ||
@@ -140,0 +140,0 @@ }, |
{ | ||
"name": "@types/babel__helper-module-imports", | ||
"version": "7.18.0", | ||
"version": "7.18.1", | ||
"description": "TypeScript definitions for @babel/helper-module-imports", | ||
@@ -26,4 +26,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__helper-module-imports", | ||
}, | ||
"typesPublisherContentHash": "5d0d96457315be36d03f6405541e1118e1d0b6bbe1961e2f74e67addd8d329b7", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "9e5e32bfbaea263f524e1696ef7a5b82920b2f0be904cabc50740e0b47e24296", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 12 Jan 2023 09:32:38 GMT | ||
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT | ||
* Dependencies: [@types/babel__core](https://npmjs.com/package/@types/babel__core), [@types/babel__traverse](https://npmjs.com/package/@types/babel__traverse) | ||
@@ -14,0 +14,0 @@ * Global values: none |