| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-11-11 15:53:46 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-11-11 15:54:32 UTC |
| parent | 5cce51678b38fe495241df9c8f584130a3dbebb7 |
| Makefile | +2 | -1 |
| npm/index.ts | +2 | -2 |
diff --git a/Makefile b/Makefile index 7a1ae3b..f1f2a26 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,8 @@ npm: npm/borogove-browser.js npm/borogove.js borogove/persistence/IDB.js borogov cp borogove/persistence/IDB.js npm cp borogove/persistence/MediaStoreCache.js npm cp borogove/persistence/sqlite-worker1.mjs npm - cd npm && npx tsc --esModuleInterop --lib esnext,dom --target esnext --preserveConstEnums -d index.ts + -cd npm && npx tsc --esModuleInterop --lib esnext,dom --target esnext --preserveConstEnums --allowJs --checkJs -d index.ts > /dev/null + cd npm && npx tsc --esModuleInterop --lib esnext,dom --target esnext --preserveConstEnums --allowJs --checkJs -d index.ts sed -i '1iimport { borogove as enums } from "./borogove-enums.js";' npm/index.js cpp/output.dso: diff --git a/npm/index.ts b/npm/index.ts index 57558b1..783882d 100644 --- a/npm/index.ts +++ b/npm/index.ts @@ -40,10 +40,10 @@ export import UiState = enums.UiState; export import UserState = enums.UserState; export namespace persistence { - export const IDB = IDBjs as any; + export const IDB = IDBjs; export import KeyValueStore = borogove.persistence.KeyValueStore; export import MediaStore = borogove.persistence.MediaStore; - export const MediaStoreCache = MediaStoreCachejs as any; + export const MediaStoreCache = MediaStoreCachejs; export import Dummy = borogove.persistence.Dummy; export import Sqlite = borogove.persistence.Sqlite; }