Skip to content

Commit

Permalink
fix: Fix TS2416 error on dist build (#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorsreis committed Oct 24, 2022
1 parent 0876eba commit b7ecdc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/token-store/fileTokenStore.ts
Expand Up @@ -137,7 +137,7 @@ export class FileTokenStore implements TokenStore {

public async setToken(
sessionName: string,
tokenData: SessionToken | void
tokenData: SessionToken | null
): Promise<boolean> {
if (!tokenData || !isValidSessionToken(tokenData)) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/token-store/memoryTokenStore.ts
Expand Up @@ -46,7 +46,7 @@ export class MemoryTokenStore implements TokenStore {
}
public setToken(
sessionName: string,
tokenData: SessionToken | void
tokenData: SessionToken | null
): boolean {
if (!tokenData) {
return false;
Expand Down

0 comments on commit b7ecdc1

Please sign in to comment.