apply eslint and prettier rules

This commit is contained in:
Sebastian Sdorra
2019-10-21 10:57:56 +02:00
parent 85773186db
commit 4bb8e6153b
227 changed files with 1147 additions and 4076 deletions

View File

@@ -41,25 +41,13 @@ describe("binder tests", () => {
});
type Props = {
category: string
category: string;
};
it("should return only extensions which predicates matches", () => {
binder.bind(
"hitchhicker.trillian",
"heartOfGold",
(props: Props) => props.category === "a"
);
binder.bind(
"hitchhicker.trillian",
"earth",
(props: Props) => props.category === "b"
);
binder.bind(
"hitchhicker.trillian",
"earth2",
(props: Props) => props.category === "a"
);
binder.bind("hitchhicker.trillian", "heartOfGold", (props: Props) => props.category === "a");
binder.bind("hitchhicker.trillian", "earth", (props: Props) => props.category === "b");
binder.bind("hitchhicker.trillian", "earth2", (props: Props) => props.category === "a");
const extensions = binder.getExtensions("hitchhicker.trillian", {
category: "b"