MCPcopy Create free account
hub / github.com/arktypeio/arktype / createDeclarations

Function createDeclarations

ark/type/standalone/artifact.ts:262–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260}
261
262const createDeclarations = (): Declarations => ({
263 statements: [],
264 namesByValue: new Map(),
265 valuesByRole: {
266 shape: [],
267 keys: [],
268 literal: [],
269 made: [],
270 standIn: [],
271 json: [],
272 jsonSchema: [],
273 traversal: []
274 }
275})
276
277// what a shared module's code is written from, which it declares or imports
278interface WritingScope {

Callers 4

StandaloneArtifactClass · 0.85
writeBakedAfterMethod · 0.85
writeSharedModuleMethod · 0.85
readSharedValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected