fix(compartment-mapper): Export types properly
Although this lint check locally works fine, it fails two dependency edges up from here.
Refs:
MODIFY
packages/compartment-mapper/NEWS.md
packages/compartment-mapper/NEWS.md
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

MODIFY
packages/compartment-mapper/jsconfig.json
packages/compartment-mapper/jsconfig.json
"strictNullChecks": true,
"moduleResolution": "node"
},
- "include": ["src/**/*.js", "index.d.ts"]
+ "include": ["src/**/*.js", "test/**/*.js", "index.d.ts"]
}

MODIFY
packages/compartment-mapper/src/node-powers.js
packages/compartment-mapper/src/node-powers.js
// @ts-check
+import './types.js';
+
/**
* @param {typeof import('fs')} fs
* @returns {ReadPowers}

fix(compartment-mapper): Export types properly

Although this lint check locally works fine, it fails two dependency edges up from here.

Refs: https://github.com/Agoric/agoric-sdk/pull/3346