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 Jan 29, 2021
1 parent d0428c2 commit f0802be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -329,7 +329,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 f0802be

Please sign in to comment.