Skip to content

Commit

Permalink
export JavaScriptCodec stuff in index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gfx committed Jun 11, 2019
1 parent 47ae1d4 commit f156fae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ export {
decodeTimestampExtension,
} from "./timestamp";

export { JavaScriptCodec, JavaScriptCodecType, encodeJavaScriptData, decodeJavaScriptData } from "./JavaScriptCodec";

export { WASM_AVAILABLE as __WASM_AVAILABLE } from "./wasmFunctions";
3 changes: 1 addition & 2 deletions test/javascript-codec.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import assert from "assert";
import { encode, decode } from "@msgpack/msgpack";
import { JavaScriptCodec } from "src/JavaScriptCodec";
import { encode, decode, JavaScriptCodec } from "@msgpack/msgpack";

describe("JavaScriptCodec", () => {
context("mixed", () => {
Expand Down

0 comments on commit f156fae

Please sign in to comment.