all files / common/core/clipboard/ index.ts

100% Statements 9/9
100% Branches 0/0
100% Functions 3/3
100% Lines 7/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26                        30×              
/*
 *  @license
 *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.
 *
 *  Use of this source code is governed by an Apache-2.0 license that can be
 *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE
 */
 
import { ModuleWithProviders, NgModule } from '@angular/core';
import { DejaClipboardService } from './clipboard.service';
 
@NgModule({
    providers: [DejaClipboardService],
})
export class DejaClipboardModule {
    public static forRoot(): ModuleWithProviders {
        return {
            ngModule: DejaClipboardModule,
            providers: [ DejaClipboardService ],
        };
    }
}
 
export * from './clipboard.service';