MCPcopy Create free account
hub / github.com/glideapps/quicktype / newline

Function newline

src/Source.ts:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63export function newline(): NewlineSource {
64 // We're returning a new object instead of using a singleton
65 // here because `Renderer` will modify `indentationChange`.
66 return { kind: "newline", indentationChange: 0 };
67}
68
69export type Sourcelike = Source | string | Name | SourcelikeArray;
70export interface SourcelikeArray extends Array<Sourcelike> {}

Callers 2

emitNewlineFunction · 0.90
sourcelikeToSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…