Commit 016b8c5 Nikhil Thorat
authored
1 parent 6322073 commit 016b8c5 Copy full SHA for 016b8c5
File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,17 @@ export interface HeadingMap {
27
27
export type Heading = keyof HeadingMap ;
28
28
export type Namespace = 'losses' | 'image' | 'train' ;
29
29
30
- export interface DocInfo < H extends Heading > {
31
- heading : H ;
32
- subheading ?: HeadingMap [ H ] ;
33
- namespace ?: Namespace ;
30
+ export interface DocInfo { // <H extends Heading> {
31
+ heading : string ; // H;
32
+ subheading ?: string ; // HeadingMap[H];
33
+ namespace ?: string ; // Namespace;
34
34
subclasses ?: string [ ] ;
35
35
useDocsFrom ?: string ;
36
+ configParamIndices ?: number [ ] ;
36
37
}
37
38
38
39
// Pass through function that does nothing. Only used for documentation.
39
- export function doc < H extends Heading > ( info : DocInfo < H > ) {
40
+ export function doc ( info : DocInfo ) { // <H extends Heading>(info: DocInfo<H>) {
40
41
// tslint:disable-next-line:no-any
41
42
return ( ...args : any [ ] ) => { } ;
42
43
}
You can’t perform that action at this time.
0 commit comments