mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-21 21:40:49 +02:00
fix: docs build
This commit is contained in:
parent
d9549ea1c3
commit
188f12f63c
4 changed files with 10 additions and 19 deletions
|
@ -29,8 +29,8 @@ export class CoreModule {
|
|||
throwIfAlreadyLoaded(parentModule, 'CoreModule');
|
||||
}
|
||||
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return <ModuleWithProviders>{
|
||||
static forRoot(): ModuleWithProviders<CoreModule> {
|
||||
return {
|
||||
ngModule: CoreModule,
|
||||
providers: [
|
||||
...NB_CORE_PROVIDERS,
|
||||
|
|
|
@ -86,8 +86,8 @@ const COMPONENTS = [
|
|||
],
|
||||
})
|
||||
export class NgxLandingThemeModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return <ModuleWithProviders>{
|
||||
static forRoot(): ModuleWithProviders<NgxLandingThemeModule> {
|
||||
return {
|
||||
ngModule: NgxLandingThemeModule,
|
||||
providers: [
|
||||
...NbThemeModule.forRoot({ name: 'ngx-landing' }).providers,
|
||||
|
|
|
@ -1,19 +1,8 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"sourceMap": true,
|
||||
"declaration": false,
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom"
|
||||
],
|
||||
"outDir": "../out-tsc/app",
|
||||
"module": "es2015",
|
||||
"baseUrl": ".",
|
||||
"types": []
|
||||
"baseUrl": "."
|
||||
},
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
|
|
8
docs/typings.d.ts
vendored
8
docs/typings.d.ts
vendored
|
@ -5,9 +5,11 @@
|
|||
*/
|
||||
|
||||
/* SystemJS module definition */
|
||||
declare var module: {
|
||||
declare var module: NodeModule;
|
||||
interface NodeModule {
|
||||
id: string;
|
||||
};
|
||||
declare var require: any;
|
||||
}
|
||||
|
||||
declare var require: NodeRequire;
|
||||
declare var structure: any;
|
||||
declare var docs: any;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue