[ts-migrate][client] Init tsconfig.json file

Co-authored-by: ts-migrate <>
This commit is contained in:
Max Leiter 2022-05-02 22:37:57 -07:00
parent 1560b07f36
commit 36e7a61007
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA
2 changed files with 4 additions and 6 deletions

View file

@ -4,7 +4,7 @@
</div>
</template>
<script>
<script lang="ts">
import ParsedMessage from "../../../client/components/ParsedMessage.vue";
export default {

View file

@ -1,10 +1,9 @@
"use strict";
// @ts-expect-error ts-migrate(2451) FIXME: Cannot redeclare block-scoped variable 'expect'.
const expect = require("chai").expect;
const constants = require("../../../client/js/constants");
import {expect} from "chai";
import constants from "../../../client/js/constants";
import {describe} from "mocha";
// @ts-expect-error ts-migrate(2582) FIXME: Cannot find name 'describe'. Do you need to instal... Remove this comment to see the full error message
describe("client-side constants", function () {
// @ts-expect-error ts-migrate(2582) FIXME: Cannot find name 'describe'. Do you need to instal... Remove this comment to see the full error message
describe(".colorCodeMap", function () {
@ -15,7 +14,6 @@ describe("client-side constants", function () {
// @ts-expect-error ts-migrate(2582) FIXME: Cannot find name 'it'. Do you need to install type... Remove this comment to see the full error message
it("should be made of pairs of strings", function () {
// @ts-expect-error ts-migrate(7031) FIXME: Binding element 'code' implicitly has an 'any' typ... Remove this comment to see the full error message
constants.colorCodeMap.forEach(([code, name]) => {
expect(code)
.to.be.a("string")