Skip to content

Commit

Permalink
use emitter type from tiny-emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
shuowu committed Jan 14, 2022
1 parent b4d53ea commit 2d5017e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/TokenManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
* See the License for the specific language governing permissions and limitations under the License.
*
*/

import EventEmitter from 'tiny-emitter';
import { removeNils, clone } from './util';
import { AuthSdkError } from './errors';
import { isRefreshTokenError, validateToken } from './oidc/util';
import { isLocalhost, isIE11OrLess } from './features';
import { TOKEN_STORAGE_NAME } from './constants';
import SdkClock from './clock';
import {
EventEmitter,
Token,
Tokens,
TokenType,
Expand Down
1 change: 0 additions & 1 deletion lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

export * from './api';
export * from './AuthState';
export * from './EventEmitter';
export * from './Transaction';
export * from './Cookies';
export * from './http';
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"outDir": "./build",
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"rootDir": "./",
"baseUrl": "./"
Expand Down

0 comments on commit 2d5017e

Please sign in to comment.