Skip to content

Commit

Permalink
fix(std/encoding/yaml): Correct exports (denoland#5191)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed May 10, 2020
1 parent 60dfd91 commit e74a83a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion std/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 std/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 e74a83a

Please sign in to comment.