MCPcopy Create free account
hub / github.com/babel/babel / parseFunctionParamType

Function parseFunctionParamType

packages/babel-parser/src/parser/lval.ts:615–619  ·  view source on GitHub ↗
(
    param: T,
  )

Source from the content-addressed store, hash-verified

613
614 // Used by flow/typescript plugin to add type annotations to binding elements
615 parseFunctionParamType<T extends Pattern | Identifier | RestElement>(
616 param: T,
617 ): T {
618 return param;
619 }
620
621 // Parses assignment pattern around given atom if possible.
622 // https://tc39.es/ecma262/#prod-BindingElement

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected