MCPcopy Create free account
hub / github.com/codeaashu/claude-code / createConfig

Function createConfig

src/native-ts/yoga-layout/index.ts:374–398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

372}
373
374function createConfig(): Config {
375 const config: Config = {
376 pointScaleFactor: 1,
377 errata: Errata.None,
378 useWebDefaults: false,
379 free() {},
380 isExperimentalFeatureEnabled() {
381 return false
382 },
383 setExperimentalFeatureEnabled() {},
384 setPointScaleFactor(f) {
385 config.pointScaleFactor = f
386 },
387 getErrata() {
388 return config.errata
389 },
390 setErrata(e) {
391 config.errata = e
392 },
393 setUseWebDefaults(v) {
394 config.useWebDefaults = v
395 },
396 }
397 return config
398}
399
400// --
401// Node implementation

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected