mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
Use @internal
with js/timers.ts
This commit is contained in:
parent
4772c14d12
commit
e9d692ef70
3 changed files with 3 additions and 4 deletions
|
@ -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": "",
|
||||
};
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue