Reference exported names via import *.

Rather than via properties on default exports — see
https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-named-as-default-member.md
This commit is contained in:
Henry Mercer 2021-08-11 13:14:56 +01:00
parent 060eb52d32
commit 93c9da2c2e
21 changed files with 52 additions and 55 deletions

View file

@ -2,7 +2,7 @@ import * as fs from "fs";
import * as github from "@actions/github";
import test from "ava";
import sinon from "sinon";
import * as sinon from "sinon";
import * as actionsUtil from "./actions-util";
import { GitHubApiDetails } from "./api-client";