Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/formkit/formkit
/ guessFormat
Function
guessFormat
packages/cli/src/theme.ts:369–371 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
367
}
368
369
function
guessFormat() {
370
return
existsSync(resolve(process.cwd(),
'tsconfig.json'
)) ?
'ts'
:
'mjs'
371
}
372
373
export
async
function
generate(
374
theme: Theme<ThemeOptions> | ReturnType<Theme<ThemeOptions>>,
Callers
1
buildTheme
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected