Skip to content

Commit

Permalink
fix(encoding/yaml): Correct exports (denoland/deno#5191)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn authored and denobot committed Jan 31, 2021
1 parent 3bb79f2 commit 39a5707
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion encoding/yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ export {
DumpOptions as StringifyOptions,
stringify,
} from "./_yaml/stringify.ts";
export { Schema, SchemaDefinition, TypeMap } from "./_yaml/schema/mod.ts";
export { SchemaDefinition } from "./_yaml/schema.ts";
export { StyleVariant } from "./_yaml/type.ts";
export {
CORE_SCHEMA,
DEFAULT_SCHEMA,
FAILSAFE_SCHEMA,
JSON_SCHEMA,
} from "./_yaml/schema/mod.ts";
3 changes: 3 additions & 0 deletions encoding/yaml_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

import "./_yaml/parse_test.ts";
import "./_yaml/stringify_test.ts";

// Type check.
import "./yaml.ts";

0 comments on commit 39a5707

Please sign in to comment.