mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-22 09:15:03 +00:00
Bot now connects, lint fixes
This commit is contained in:
parent
c99e745f89
commit
1ee016e85e
16 changed files with 29 additions and 24 deletions
|
@ -2,7 +2,7 @@ import * as ioTs from "io-ts";
|
|||
import { convertDelayStringToMS, convertMSToDelayString, getUrlsInString, tAllowedMentions } from "./utils";
|
||||
|
||||
import test from "ava";
|
||||
import { erisAllowedMentionFormat } from "./utils/erisAllowedMentionsToDjsMentionOptions";
|
||||
import { ErisAllowedMentionFormat } from "./utils/erisAllowedMentionsToDjsMentionOptions";
|
||||
|
||||
type AssertEquals<TActual, TExpected> = TActual extends TExpected ? true : false;
|
||||
|
||||
|
@ -52,6 +52,6 @@ test("delay strings: reverse conversion (conservative)", t => {
|
|||
|
||||
test("tAllowedMentions matches Eris's AllowedMentions", t => {
|
||||
type TAllowedMentions = ioTs.TypeOf<typeof tAllowedMentions>;
|
||||
const typeTest: AssertEquals<TAllowedMentions, erisAllowedMentionFormat> = true;
|
||||
const typeTest: AssertEquals<TAllowedMentions, ErisAllowedMentionFormat> = true;
|
||||
t.pass();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue