Clean up Typescript imports
This commit is contained in:
parent
79610b958b
commit
ceb5d6c20d
3 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
import {addNTimes, PlayableLetterData} from "./utils";
|
import {addNTimes, PlayableLetterData} from "./utils";
|
||||||
import {useEffect, useState} from "react";
|
import {useEffect, useState} from "react";
|
||||||
import {Modal} from "./Modal";
|
import {Modal} from "./Modal";
|
||||||
import {Letter as LetterData} from "word_grid";
|
import {Letter as LetterData} from "../../pkg/word_grid";
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
|
|
||||||
export function TileExchangeModal(props: {
|
export function TileExchangeModal(props: {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import {ChangeEvent, JSX} from "react";
|
import {ChangeEvent, JSX} from "react";
|
||||||
import {PlayerAndScore} from "word_grid";
|
import {PlayerAndScore} from "../../pkg/word_grid";
|
||||||
import {
|
import {
|
||||||
CellType,
|
CellType,
|
||||||
cellTypeToDetails,
|
cellTypeToDetails,
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import init, {GameWasm} from '../../pkg/word_grid.js';
|
import init from '../../pkg/word_grid.js';
|
||||||
import {Game} from "./Game";
|
|
||||||
import {createRoot} from "react-dom/client";
|
import {createRoot} from "react-dom/client";
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import {Menu} from "./Menu";
|
import {Menu} from "./Menu";
|
||||||
|
|
Loading…
Reference in a new issue