Search
Preparing search index...
The search index is not available
mimic
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
@creditkarma/mimic-rest
Segment
Class Segment
Hierarchy
Segment
Index
Constructors
constructor
Properties
children
data
name
Methods
add
find
Constructors
constructor
new
Segment
(
name
:
string
, data
?:
any
, children
?:
IUniq
<
Segment
>
)
:
Segment
Parameters
name:
string
Default value
data:
any
= null
Default value
children:
IUniq
<
Segment
>
= {}
Returns
Segment
Properties
children
children
:
IUniq
<
Segment
>
data
data
:
any
name
name
:
string
Methods
add
add
(
segment
:
string
)
:
Segment
Parameters
segment:
string
Returns
Segment
find
find
(
segments
:
string
[]
)
:
IRouteMatch
|
null
Parameters
segments:
string
[]
Returns
IRouteMatch
|
null
Globals
@creditkarma/mimic-
cli
@creditkarma/mimic-
core
@creditkarma/mimic-
graphql
@creditkarma/mimic-
rest
@creditkarma/mimic-
thrift
Rest
Provider
Router
Tree
Segment
constructor
children
data
name
add
find
IEvented
Response
Manager
IRest
Response
IRoute
Match
Generated using
TypeDoc