- From: ExE Boss <notifications@github.com>
- Date: Sun, 05 May 2019 07:41:27 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 5 May 2019 14:41:49 UTC
I think we could keep `interface` since it’s a reserved keyword in JavaScript and is used in TypeScript to denote class shapes: ```ts // X.ts export default interface X { public y: Type; } // XImpl.ts import X from './X.ts'; class XImpl extends X { private #y: Type; constructor () { throw new Error(); } get y(): { return this.#y; } set y(arg: Type): { this.#y = arg; } } export { XImpl as implementation }; ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/485#issuecomment-489432684
Received on Sunday, 5 May 2019 14:41:49 UTC