File tree Expand file tree Collapse file tree
packages/admin/src/pages/roles Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "outDir" : " ./lib"
1010 },
1111 "include" : [" ./src/**/*.ts" , " ../../build/vite.config.base.ts" ],
12- "exclude" : [" lib" , " node_modules" ],
12+ "exclude" : [" lib" , " node_modules" ]
1313}
Original file line number Diff line number Diff line change 1212 * import pkg from './package.json' with {type: 'json'}
1313 * ```
1414 */
15- export function buildPostBanner ( pkg : unknown ) {
16- return ( chunk : { isEntry : boolean } ) : string => {
15+ export function buildPostBanner ( pkg : { name : string ; version : string ; homepage : string ; license : string } ) {
16+ return ( chunk : { isEntry : boolean } ) : string => {
1717 if ( chunk . isEntry ) {
1818 return `/*!
1919 * ${ pkg . name } v${ pkg . version }
2020 * ${ pkg . homepage }
2121 * ${ pkg . license } licensed
2222 */` ;
23- } else {
23+ } else {
2424 return '' ;
2525 }
2626 } ;
Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ export function Roles(props: Props): JSX.Element {
8989 header = { currentID . getValue ( ) ? l . t ( '_p.editItem' ) : l . t ( '_p.newItem' ) }
9090 footer = {
9191 < >
92- < Dialog . CancelButton value = "cancel" onclick = { save } > { l . t ( '_c.cancel' ) } </ Dialog . CancelButton >
92+ < Dialog . CancelButton value = "cancel" onclick = { save } >
93+ { l . t ( '_c.cancel' ) }
94+ </ Dialog . CancelButton >
9395 < Dialog . AcceptButton value = "accept" > { l . t ( '_c.ok' ) } </ Dialog . AcceptButton >
9496 </ >
9597 }
You can’t perform that action at this time.
0 commit comments