moleculerjs / moleculer-web

:earth_africa: Official API Gateway service for Moleculer framework
http://moleculer.services/docs/moleculer-web.html
MIT License
291 stars 119 forks source link

Fix typing problem #272

Closed ariesclark closed 2 years ago

ariesclark commented 2 years ago
import { Service } from 'moleculer-decorators';
import HttpGateway from "moleculer-web";

@Service()
export default class HttpService {
    mixins = [HttpGateway]
}
Public property 'mixins' of exported class has or is using name 'ApiGatewayErrors' from external module "moleculer-web" but cannot be named.
Public property 'mixins' of exported class has or is using name 'IncomingRequest' from external module "moleculer-web" but cannot be named.
Public property 'mixins' of exported class has or is using name 'GatewayResponse' from external module "moleculer-web" but cannot be named.

This pull request exposes the required interfaces for this to work.

0x0a0d commented 2 years ago

Hi, you can try my pull #259

icebob commented 2 years ago

259 covers it.