Skip to content

Commit fc51f7d

Browse files
committed
Clean up barrel type failure
1 parent d67607d commit fc51f7d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/ember/barrel.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ namespace Ember {
192192
export type ActionHandler = InternalActionHandler;
193193
export const Comparable = InternalComparable;
194194
export type Comparable = InternalComparable;
195-
196-
// This syntax is namespace-specific: `import` in a namespace is aliasing one
197-
// namespace to another, while `export` marks the item public on the namespace
198-
// (as with the rest of the exported items).
199195
export const RSVP = _RSVP;
200196
export type RSVP = typeof _RSVP;
201197

@@ -748,11 +744,4 @@ defineEmberTestingLazyLoad('setupForTesting');
748744
// @ts-expect-error Per types, runLoadHooks requires a second parameter. Should we loosen types?
749745
applicationRunLoadHooks('Ember');
750746

751-
// the special "export import" syntax above doesn't actually transpile correctly
752-
// under all build configurations. It seems to work if you're simultaneously
753-
// transpiling ESM to AMD but breaks when keeping ESM output.
754-
//
755-
// This is a workaround to ensure that the runtime is actually included.
756-
Ember.RSVP = _RSVP;
757-
758747
export default Ember;

0 commit comments

Comments
 (0)