Fix babel warnings about ts types re-export

This commit is contained in:
SleepWalker
2019-12-25 12:01:12 +02:00
parent f72c880ad1
commit 8db75ac8c8
8 changed files with 446 additions and 9 deletions

View File

@@ -1,2 +1,5 @@
export { State as AccountsState, Account } from './reducer';
import { State, Account as AccountType } from './reducer';
export { default as AccountSwitcher } from './AccountSwitcher';
export type AccountsState = State;
export type Account = AccountType;

View File

@@ -1 +1,3 @@
export { State as AuthState } from './reducer';
import { State } from './reducer';
export type AuthState = State;

View File

@@ -1,2 +1,4 @@
import { MfaStep as TMfaStep } from './MfaEnable';
export { default } from './MultiFactorAuth';
export { MfaStep } from './MfaEnable';
export type MfaStep = TMfaStep;

View File

@@ -1 +1,3 @@
export { User } from './reducer';
import { User as TUser } from './reducer';
export type User = TUser;