MCPcopy Index your code
hub / github.com/blitz-js/blitz / parse

Function parse

packages/generator/src/generator.ts:130–135  ·  view source on GitHub ↗
(source: string, options?: Overrides)

Source from the content-addressed store, hash-verified

128
129export const customTsParser = {
130 parse(source: string, options?: Overrides) {
131 const babelOptions = getBabelOptions(options)
132 babelOptions.plugins.push("typescript")
133 babelOptions.plugins.push("jsx")
134 return babelParser.parser.parse(source, babelOptions)
135 },
136}
137
138export interface GeneratorOptions {

Callers 3

rpcHandlerFunction · 0.85
handleRpcRequestFunction · 0.85
getCookieParserFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected