UNPKG

785 BJavaScriptView Raw
1"use strict";
2// Copyright IBM Corp. 2019. All Rights Reserved.
3// Node module: @loopback/boot
4// This file is licensed under the MIT License.
5// License text available at https://opensource.org/licenses/MIT
6Object.defineProperty(exports, "__esModule", { value: true });
7exports.GreetingService = void 0;
8// NOTE(bajtos) At the moment, ServiceBooter recognizes only service providers.
9// This class is used by tests to verify that non-provider classes are ignored.
10class GreetingService {
11 greet(whom = 'world') {
12 return Promise.resolve(`Hello ${whom}`);
13 }
14}
15exports.GreetingService = GreetingService;
16//# sourceMappingURL=service-class.artifact.js.map
17//# sourceMappingURL=/home/fran/Projects/loopback/packages/boot/dist/__tests__/fixtures/service-class.artifact.js.map
\No newline at end of file