-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate: ESModuleに移行 * Revert: vuexの変更をRevert * Fix: __dirnameを追加 * Fix: electronが立ち上がらないのを修正 * Change: type: moduleをやめる * Delete: __dirnameをなくす * Revert: js -> cjsをやめる * Code: コメントを追加 * Revert: package.jsonのパスも戻す * Revert: 色々なコンフィルファイルの拡張子も戻す * Revert: electron-builder.config.jsのも戻す * Revert: js内のも戻す
- Loading branch information
1 parent
e1dac6e
commit 29195c3
Showing
5 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// immerの内部APIの型定義。exportsで指定されていないファイルを参照するために用意したもの。 | ||
declare module "immer/src/plugins/patches" { | ||
export function enablePatches(): void; | ||
} | ||
declare module "immer/src/plugins/mapset" { | ||
export function enableMapSet(): void; | ||
} | ||
declare module "immer/src/utils/plugins" { | ||
import { Patch } from "immer"; | ||
export function getPlugin(name: "Patches"): { | ||
applyPatches_: (state: unknown, patches: Patch[]) => void; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// vuexのexportsにtypeがないのを回避するWorkaround。 | ||
// https://github.com/vuejs/vuex/issues/2213#issuecomment-1592267216 | ||
declare module "vuex" { | ||
export * from "vuex/types/index.d.ts"; | ||
export * from "vuex/types/helpers.d.ts"; | ||
export * from "vuex/types/logger.d.ts"; | ||
export * from "vuex/types/vue.d.ts"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters