Skip to content

Commit

Permalink
chore(marshal): switch to exported declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Feb 3, 2022
1 parent 3c8bac0 commit be9d5ac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions packages/marshal/jsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./jsconfig.json",
"compilerOptions": {
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
},
"exclude": ["test/"]
}
1 change: 1 addition & 0 deletions packages/marshal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"scripts": {
"build": "exit 0",
"prepack": "tsc -p jsconfig.build.json",
"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
Expand Down
4 changes: 2 additions & 2 deletions packages/marshal/src/make-far.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ const assertCanBeRemotable = candidate =>
* Carol's `iface` as misrepresented by VatA.
* @param {undefined} [props=undefined] Currently may only be undefined.
* That plan is that own-properties are copied to the remotable
* @param {object} [remotable={}] The object used as the remotable
* @returns {object} remotable, modified for debuggability
* @param {any} [remotable={}] The object used as the remotable
* @returns {any} remotable, modified for debuggability
*/
export const Remotable = (
iface = 'Remotable',
Expand Down

0 comments on commit be9d5ac

Please sign in to comment.