Clean up Typescript imports

This commit is contained in:
Joel Therrien 2023-09-27 20:03:52 -07:00
parent 79610b958b
commit ceb5d6c20d
3 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import {addNTimes, PlayableLetterData} from "./utils";
import {useEffect, useState} from "react";
import {Modal} from "./Modal";
import {Letter as LetterData} from "word_grid";
import {Letter as LetterData} from "../../pkg/word_grid";
import * as React from "react";
export function TileExchangeModal(props: {

View file

@ -1,6 +1,6 @@
import * as React from "react";
import {ChangeEvent, JSX} from "react";
import {PlayerAndScore} from "word_grid";
import {PlayerAndScore} from "../../pkg/word_grid";
import {
CellType,
cellTypeToDetails,

View file

@ -1,5 +1,4 @@
import init, {GameWasm} from '../../pkg/word_grid.js';
import {Game} from "./Game";
import init from '../../pkg/word_grid.js';
import {createRoot} from "react-dom/client";
import * as React from "react";
import {Menu} from "./Menu";