summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/assets.ts3
-rw-r--r--js/timers.ts1
-rw-r--r--js/tsconfig.generated.json3
3 files changed, 3 insertions, 4 deletions
diff --git a/js/assets.ts b/js/assets.ts
index 16f4cd983..6261f4ad3 100644
--- a/js/assets.ts
+++ b/js/assets.ts
@@ -94,7 +94,4 @@ export const assetSourceCode: { [key: string]: string } = {
// Static definitions
"typescript.d.ts": typescriptDts,
"types.d.ts": typesDts,
-
- // TODO(ry) Remove the following when possible. It's a workaround.
- "msg_generated.d.ts": "",
};
diff --git a/js/timers.ts b/js/timers.ts
index e5c7a5f3c..3791e079d 100644
--- a/js/timers.ts
+++ b/js/timers.ts
@@ -21,6 +21,7 @@ interface Timer {
const timers = new Map<number, Timer>();
+/** @internal */
export function onMessage(msg: fbs.TimerReady) {
const timerReadyId = msg.id();
const timerReadyDone = msg.done();
diff --git a/js/tsconfig.generated.json b/js/tsconfig.generated.json
index c669388f8..4d76dd98f 100644
--- a/js/tsconfig.generated.json
+++ b/js/tsconfig.generated.json
@@ -6,7 +6,8 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"declaration": true,
- "emitDeclarationOnly": true
+ "emitDeclarationOnly": true,
+ "stripInternal": true
},
"files": [
"../node_modules/typescript/lib/lib.esnext.d.ts",