Skip to content

Commit

Permalink
Specify node type of Document.Parsed.contents (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Mar 13, 2021
1 parent 1ff8db7 commit 90cee5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export class Document extends Collection {

export namespace Document {
interface Parsed extends Document {
contents: Node | null
contents: Scalar | YAMLMap | YAMLSeq | null
/** The schema used with the document. */
schema: Schema
}
Expand Down

0 comments on commit 90cee5f

Please sign in to comment.