diff --git a/packages/ember-repl/addon/src/compile/formats/gjs/index.ts b/packages/ember-repl/addon/src/compile/formats/gjs/index.ts index 855ef2fc5..886126253 100644 --- a/packages/ember-repl/addon/src/compile/formats/gjs/index.ts +++ b/packages/ember-repl/addon/src/compile/formats/gjs/index.ts @@ -91,9 +91,9 @@ async function transform( ): Promise> { // @babel/standalone is a CJS module.... // so we have to use the default export (which is all the exports) - let maybeBabel = (await import('@babel/standalone')) as Babel; + let maybeBabel = (await import('@babel/standalone')) as any; // Handle difference between vite and webpack in consuming projects... - let babel = 'default' in maybeBabel ? maybeBabel.default : maybeBabel; + let babel: Babel = 'default' in maybeBabel ? maybeBabel.default : maybeBabel; return babel.transform(intermediate, { filename: `${name}.js`,