Skip to content

Commit

Permalink
ts: Re-export AST & CST namespsaces from index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Apr 1, 2020
1 parent 9145678 commit a4e5bb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { CST } from './parse-cst'
import { AST, Scalar, Schema, YAMLMap, YAMLSeq } from './types'
import { Type, YAMLError, YAMLWarning } from './util'

export { AST, CST }
export { default as parseCST } from './parse-cst'

/**
Expand Down Expand Up @@ -171,7 +172,7 @@ export namespace scalarOptions {
}

export class Document extends AST.Collection {
cstNode?: CST.Document;
cstNode?: CST.Document
constructor(options?: Options)
tag: never
type: Type.DOCUMENT
Expand Down

0 comments on commit a4e5bb7

Please sign in to comment.