Skip to content

Commit

Permalink
fix(compartment-mapper): Export types properly
Browse files Browse the repository at this point in the history
Although this lint check locally works fine, it fails two dependency edges up from here.

Refs: Agoric/agoric-sdk#3346
  • Loading branch information
kriskowal committed Jun 17, 2021
1 parent 479a3ca commit 54be905
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/compartment-mapper/NEWS.md
@@ -1,5 +1,9 @@
User-visible changes to the compartment mapper:

# Next release

- Vends types out properly for ReadFn and CanonicalFn in particular.

# 0.4.0 (2021-06-16)

- *BREAKING*: When constructing an archive, the creator must provide a record
Expand Down
2 changes: 1 addition & 1 deletion packages/compartment-mapper/jsconfig.json
Expand Up @@ -7,5 +7,5 @@
"strictNullChecks": true,
"moduleResolution": "node"
},
"include": ["src/**/*.js", "index.d.ts"]
"include": ["src/**/*.js", "test/**/*.js", "index.d.ts"]
}
2 changes: 2 additions & 0 deletions packages/compartment-mapper/src/node-powers.js
@@ -1,5 +1,7 @@
// @ts-check

import './types.js';

/**
* @param {typeof import('fs')} fs
* @returns {ReadPowers}
Expand Down

0 comments on commit 54be905

Please sign in to comment.