source:
node_modules/@swagger-api/apidom-ast/es/json/nodes/JsonDocument.mjs@
d24f17c
Last change on this file since d24f17c was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 217 bytes |
Line | |
---|---|
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.