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