Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to export abstract class as default. #13603

Closed
SuperPaintman opened this issue Jan 20, 2017 · 2 comments
Closed

Unable to export abstract class as default. #13603

SuperPaintman opened this issue Jan 20, 2017 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@SuperPaintman
Copy link

SuperPaintman commented Jan 20, 2017

TypeScript Version: 2.1.4

Code

export default abstract class Broker extends EventEmitter {
  abstract async connect();

  abstract async send();
  abstract async listen();
}
| export default abstract class Broker extends EventEmitter {
|                         ~~~~~

src/broker.ts(3,25): error TS1005: ';' expected.

Expected behavior:
Unable to export abstract class as default.

Actual behavior:
Fix exporting abstract class as default.

@RyanCavanaugh
Copy link
Member

Duplicate of #3792, #7647, #8307, #9513, #10553, #11749, #11778, and probably more. Please do search before logging issues.

image

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Jan 20, 2017
@SuperPaintman
Copy link
Author

Sorry

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants