diff --git a/src/engine/runtime.js b/src/engine/runtime.js index 169c880f7d7..2c5ffd65fe8 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -534,6 +534,18 @@ class Runtime extends EventEmitter { * Total number of finished or errored scratch-storage load() requests since the runtime was created or cleared. */ this.finishedAssetRequests = 0; + + /** + * Export some internal values for extensions. + */ + this.exports = { + i_will_not_ask_for_help_when_these_break: () => { + console.warn('You are using unsupported APIs. WHEN your code breaks, do not expect help.'); + return ({ + ArgumentTypeMap + }); + } + }; } /**