import dotf = require('dotf');

export const claspAuthenticated = async (): Promise<boolean> => {
  const dotglobal = dotf('~', 'clasprc.json');
  return dotglobal.exists();
};

import dotf = require('dotf');

export const claspAuthenticated = async (): Promise<boolean> => {
  const dotglobal = dotf.default('~', 'clasprc.json');
  return dotglobal.exists();
};

Fix for dotf is not a function
Fix for dotf is not a function
