File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
output/themes/default/partials Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export function memberSignatureBody(
2525 < li >
2626 < span >
2727 { context . reflectionFlags ( item ) }
28- { ! ! item . flags . isRest && < span class = "tsd-signature-symbol" > ...</ span > }
28+ { item . flags . isRest && < span class = "tsd-signature-symbol" > ...</ span > }
2929 < span class = "tsd-kind-parameter" > { item . name } </ span >
3030 { ": " }
3131 { context . type ( item . type ) }
Original file line number Diff line number Diff line change @@ -295,9 +295,9 @@ function renderChild(
295295 return (
296296 < li class = "tsd-parameter" >
297297 < h5 id = { anchorTargetIfPresent ( context , child ) } >
298- { ! ! child . flags . isRest && < span class = "tsd-signature-symbol" > ...</ span > }
298+ { child . flags . isRest && < span class = "tsd-signature-symbol" > ...</ span > }
299299 < span class = { getKindClass ( child ) } > { child . name } </ span >
300- < span class = "tsd-signature-symbol" > { ! ! child . flags . isOptional && "?" } :</ span > function
300+ < span class = "tsd-signature-symbol" > { child . flags . isOptional && "?" } :</ span > function
301301 </ h5 >
302302
303303 { context . memberSignatures ( child ) }
@@ -325,10 +325,10 @@ function renderChild(
325325 < li class = "tsd-parameter" >
326326 < h5 id = { anchorTargetIfPresent ( context , child ) } >
327327 { context . reflectionFlags ( child ) }
328- { ! ! child . flags . isRest && < span class = "tsd-signature-symbol" > ...</ span > }
328+ { child . flags . isRest && < span class = "tsd-signature-symbol" > ...</ span > }
329329 < span class = { getKindClass ( child ) } > { child . name } </ span >
330330 < span class = "tsd-signature-symbol" >
331- { ! ! child . flags . isOptional && "?" }
331+ { child . flags . isOptional && "?" }
332332 { ": " }
333333 </ span >
334334 { context . type ( child . type ) }
Original file line number Diff line number Diff line change 11// Type only import to non-bundled file
22// eslint-disable-next-line no-restricted-imports
3- import type { TagString } from "#utils" ;
43import type { TranslationProxy } from "../internationalization/internationalization.js" ;
4+ import type { TagString } from "./validation.js" ;
55
66let translations : Record < PropertyKey , string > = { } ;
77
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export class ArgumentsReader implements OptionsReader {
8181 decl . type === ParameterType . Boolean ||
8282 decl . type === ParameterType . Flags
8383 ) {
84- const value = String ( this . args [ index ] ) . toLowerCase ( ) ;
84+ const value = String ( this . args . at ( index ) ) . toLowerCase ( ) ;
8585
8686 if ( value === "true" || value === "false" ) {
8787 trySet ( decl . name , value === "true" ) ;
@@ -114,7 +114,7 @@ export class ArgumentsReader implements OptionsReader {
114114
115115 if ( decl && decl . type === ParameterType . Flags ) {
116116 const flagName = name . split ( "." , 2 ) [ 1 ] ;
117- const value = String ( this . args [ index ] ) . toLowerCase ( ) ;
117+ const value = String ( this . args . at ( index ) ) . toLowerCase ( ) ;
118118
119119 if ( value === "true" || value === "false" ) {
120120 trySet ( decl . name , { [ flagName ] : value === "true" } ) ;
You can’t perform that action at this time.
0 commit comments