@ng-doc/core
Advanced tools
Comparing version 16.10.0 to 16.11.0
@@ -12,2 +12,3 @@ export * from './as-array'; | ||
export * from './is-present'; | ||
export * from './is-route'; | ||
export * from './kebab-case'; | ||
@@ -14,0 +15,0 @@ export * from './object-keys'; |
@@ -15,2 +15,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./is-present"), exports); | ||
tslib_1.__exportStar(require("./is-route"), exports); | ||
tslib_1.__exportStar(require("./kebab-case"), exports); | ||
@@ -17,0 +18,0 @@ tslib_1.__exportStar(require("./object-keys"), exports); |
@@ -5,2 +5,2 @@ /** | ||
*/ | ||
export declare function objectKeys<T extends {}>(object: T): Array<keyof T>; | ||
export declare function objectKeys<T extends {}, K extends keyof T>(object: T): K[]; |
@@ -9,2 +9,7 @@ import { NgDocApiScope } from './api-scope'; | ||
category?: NgDocCategory; | ||
/** | ||
* Custom keyword that uses to create links to this page | ||
*/ | ||
keyword?: string | string[]; | ||
route?: string; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { Route } from '@angular/router'; | ||
/** | ||
@@ -12,3 +13,3 @@ * Base interface for the NgDoc file entity | ||
*/ | ||
route?: string; | ||
route?: string | Route; | ||
/** | ||
@@ -15,0 +16,0 @@ * Order is using for sorting entities in the sidebar |
@@ -11,2 +11,3 @@ import { NgDocBaseEntity } from './base-entity'; | ||
expanded?: boolean; | ||
route?: string; | ||
} |
{ | ||
"name": "@ng-doc/core", | ||
"version": "16.10.0", | ||
"version": "16.11.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
import { NgDocStyleType } from './style-type'; | ||
export type NgDocCodeType = 'unknown' | 'TypeScript' | 'HTML' | 'Markdown' | NgDocStyleType; | ||
export type NgDocCodeType = 'unknown' | 'TypeScript' | 'JavaScript' | 'HTML' | 'Markdown' | NgDocStyleType; |
@@ -1,1 +0,1 @@ | ||
export type FunctionType<R> = (...args: any[]) => R; | ||
export type FunctionType<R = any> = (...args: any[]) => R; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55110
164
1003