0
0
Fork 0

pnpmに移行

close #78
This commit is contained in:
Xeltica 2023-02-23 19:57:43 +09:00
parent d2b3b4b9e7
commit f0824b3b7a
4 changed files with 6254 additions and 6551 deletions

View file

@ -2,6 +2,8 @@
// getStateを介してステートを取得し、dispatchによって更新する
// stateを直接編集できないようになっている
import {Log} from '../common/types/log';
/**
*
*/
@ -37,12 +39,6 @@ export const dispatch = (mutation: Partial<State>) => {
};
};
export type Log = {
text: string;
level: 'error' | 'warn' | 'info';
timestamp: Date;
}
export const clearLog = () => {
dispatch({ misshaiWorkerLog: [] });
};