source:
node_modules/@swagger-api/apidom-ast/es/json/nodes/JsonDocument.mjs
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 217 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | import { head } from 'ramda'; |
2 | import JsonNode from "./JsonNode.mjs"; | |
3 | class JsonDocument extends JsonNode { | |
4 | static type = 'document'; | |
5 | get child() { | |
6 | return head(this.children); | |
7 | } | |
8 | } | |
9 | export default JsonDocument; |
Note:
See TracBrowser
for help on using the repository browser.