UNPKG
@triviality/core
Version:
latest (1.2.5)
1.2.5
1.2.3
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.4
0.7.3
Purely typed service container
github.com/triviality-js/triviality
triviality-js/triviality
@triviality/core
/
src
/
__test__
/
Features
/
MyOtherFeature.ts
10 lines
(8 loc)
•
213 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
export
const
MyOtherFeature
= (
{ myFeature }: { myFeature: () =>
string
}
) => ({
myOtherFeature
():
string
{
return
'MyOtherFeature'
; },
referenceToMyFeature
():
string
{
return
myFeature
(); }, });