1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00

Use @internal with js/timers.ts

This commit is contained in:
Kitson Kelly 2018-08-12 11:27:54 -07:00 committed by Ryan Dahl
parent 4772c14d12
commit e9d692ef70
3 changed files with 3 additions and 4 deletions

View file

@ -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": "",
};

View file

@ -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();

View file

@ -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",