forked from sombochea/verdaccio-ui
fix: add new window property to interface definition
This commit is contained in:
committed by
antoinechalifour
parent
7a8b158188
commit
b35baa069f
@@ -34,11 +34,9 @@ export interface AppStateInterface {
|
||||
}
|
||||
export default class App extends Component<{}, AppStateInterface> {
|
||||
public state: AppStateInterface = {
|
||||
// @ts-ignore
|
||||
logoUrl: window.VERDACCIO_LOGO,
|
||||
user: {},
|
||||
// @ts-ignore
|
||||
scope: window.VERDACCIO_SCOPE ? `${window.VERDACCIO_SCOPE}:` : '',
|
||||
scope: window.VERDACCIO_SCOPE || '',
|
||||
showLoginModal: false,
|
||||
isUserLoggedIn: false,
|
||||
packages: [],
|
||||
|
||||
Reference in New Issue
Block a user