Function
makeFixedDeclarationReviver
(
id: string,
schema: Top
)
Source from the content-addressed store, hash-verified
| 6655 | } |
| 6656 | |
| 6657 | function makeFixedDeclarationReviver( |
| 6658 | id: string, |
| 6659 | schema: Top |
| 6660 | ): SchemaRepresentation.DeclarationReviver<null> { |
| 6661 | return InternalSchema.makeDeclarationReviver( |
| 6662 | id, |
| 6663 | Null, |
| 6664 | ({ annotations }) => annotations === undefined ? schema : schema.annotate(annotations) |
| 6665 | ) |
| 6666 | } |
| 6667 | |
| 6668 | const TRIMMED_PATTERN = "^\\S[\\s\\S]*\\S$|^\\S$|^$" |
| 6669 | |
Tested by
no test coverage detected