Skip to content

Commit

Permalink
Add some kind of type info.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed Aug 23, 2022
1 parent 6492049 commit 49b1c8f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const log = getService('log');

async function* instantiateDeleter(session) {
async function* instantiateDeleter(session: { delete: () => any; }) {
yield session.delete();
}

const list = async (po) => {
const list = async (po: { goTo: () => any; getList: () => any; }) => {
await po.goTo();
return await po.getList();
return po.getList();
};

const deleteSessions = async () => {
Expand Down

0 comments on commit 49b1c8f

Please sign in to comment.