diff --git a/examples/manifest_typings.json b/examples/manifest_typings.json index 02c6a078e..7fb8990c8 100644 --- a/examples/manifest_typings.json +++ b/examples/manifest_typings.json @@ -16,6 +16,9 @@ "mc/*": [ "$(TYPINGS)/mc/*" ], + "mod/*": [ + "$(TYPINGS)/mod/*" + ], "pins/*": [ "$(TYPINGS)/pins/*" ], diff --git a/typings/mod/config.d.ts b/typings/mod/config.d.ts new file mode 100644 index 000000000..df6f04fc6 --- /dev/null +++ b/typings/mod/config.d.ts @@ -0,0 +1,24 @@ +/* +* Copyright (c) 2026 Satoshi Tanaka +* +* This file is part of the Moddable SDK Tools. +* +* The Moddable SDK Tools is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* The Moddable SDK Tools is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with the Moddable SDK Tools. If not, see . +* +*/ + +declare module "mod/config" { + var Config: {file: {root: string}} & Record; + export {Config as default}; +} diff --git a/typings/mod/index.d.ts b/typings/mod/index.d.ts new file mode 100644 index 000000000..f87af3c19 --- /dev/null +++ b/typings/mod/index.d.ts @@ -0,0 +1 @@ +// Blank